From d45b86c79d771035c19f8c7080f52450949cabd7 Mon Sep 17 00:00:00 2001 From: Nikolay Eskov Date: Tue, 13 Aug 2024 00:25:18 +0300 Subject: [PATCH] Moved to Go 1.22 --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/go.yml | 12 ++++++------ .github/workflows/itests.yml | 4 ++-- .github/workflows/itests_race.yml | 4 ++-- .github/workflows/security.yml | 2 +- README.md | 2 +- go.mod | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f1d9c7288..4558bcf7e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6cfc6316c..dafd452ab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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/setup-go@v5.0.2 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 @@ -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/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true @@ -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/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true id: go diff --git a/.github/workflows/itests.yml b/.github/workflows/itests.yml index 410fdddda..3c35f9b1e 100644 --- a/.github/workflows/itests.yml +++ b/.github/workflows/itests.yml @@ -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/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true id: go diff --git a/.github/workflows/itests_race.yml b/.github/workflows/itests_race.yml index ced474383..6e61098e0 100644 --- a/.github/workflows/itests_race.yml +++ b/.github/workflows/itests_race.yml @@ -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/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true id: go diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 934fa9947..93592c8c3 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -67,7 +67,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.21.12 + go-version: 1.22.x check-latest: true cache: true - name: Run go list diff --git a/README.md b/README.md index 61e365687..6ae8cdc7d 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/go.mod b/go.mod index 056687661..2ad4c4339 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/wavesplatform/gowaves -go 1.21 +go 1.22 require ( filippo.io/edwards25519 v1.1.0