Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
fix: use Go version from go.mod in Github actions (#526)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Dmitrienko <[email protected]>
  • Loading branch information
rdmitr and rdmitr authored Jun 27, 2024
1 parent 88f93fe commit d12cb8e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: './go.mod'
- name: Run tests
run: mkdir frontend/dist && touch frontend/dist/tmp && go test ./...
- name: Docker build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
- name: Setup GoLang
uses: actions/setup-go@v5
with:
check-latest: true
go-version: 1.21
go-version-file: './go.mod'

- name: Get dependencies
run: go get -v -t -d ./...
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/wails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ jobs:
- name: Setup GoLang
uses: actions/setup-go@v5
with:
check-latest: true
go-version: 1.21
go-version-file: './go.mod'

- name: Get dependencies
run: go get -v -t -d ./...
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/getAlby/nostr-wallet-connect

go 1.22.2

toolchain go1.22.3

require (
github.com/adrg/xdg v0.4.0
github.com/breez/breez-sdk-go v0.3.4
Expand Down

0 comments on commit d12cb8e

Please sign in to comment.