Skip to content

Commit

Permalink
Moved to Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Aug 12, 2024
1 parent 460111a commit d45b86c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: true

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: false # don't save & restore build caches because golangci-lint action does it internally
- name: Get dependencies
Expand All @@ -38,10 +38,10 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'wavesplatform/gowaves'

steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: true

Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
if: github.event_name == 'pull_request' && github.repository == 'wavesplatform/gowaves'

steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: true
id: go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/itests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
if: (github.event_name == 'workflow_dispatch' || github.event.review.state == 'APPROVED') && github.repository == 'wavesplatform/gowaves'

steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: true
id: go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/itests_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
if: github.repository == 'wavesplatform/gowaves'

steps:
- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/[email protected]
with:
go-version: 1.21.x
go-version: 1.22.x
check-latest: true
cache: true
id: go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.21.12
go-version: 1.22.x
check-latest: true
cache: true
- name: Run go list
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Send the transaction to the network:

### Building from sources

Go version 1.21 or later is required to build the `node`, `importer`, `wallet` and other tools.
Go version 1.22 or later is required to build the `node`, `importer`, `wallet` and other tools.

To build a node, importer or other tools run a `make` command:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/wavesplatform/gowaves

go 1.21
go 1.22

require (
filippo.io/edwards25519 v1.1.0
Expand Down

0 comments on commit d45b86c

Please sign in to comment.