diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 63490c0bfa1..17e1456e24a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 1 - uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - name: "gobenchdata publish: ${{ inputs.publish }}" run: go run go.bobheadxi.dev/gobenchdata@v1 action env: diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index f941dd69855..d516b67cc10 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/contribs.yml b/.github/workflows/contribs.yml index e3bada1e195..f86680e667e 100644 --- a/.github/workflows/contribs.yml +++ b/.github/workflows/contribs.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: goversion: # two latest versions - - "1.21.x" + - "1.22.x" program: - "gnomd" - "gnodev" diff --git a/.github/workflows/db-tests.yml b/.github/workflows/db-tests.yml index b259a0bcf74..3f2544378fd 100644 --- a/.github/workflows/db-tests.yml +++ b/.github/workflows/db-tests.yml @@ -21,8 +21,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" tags: - cleveldb - memdb diff --git a/.github/workflows/dependabot-tidy.yml b/.github/workflows/dependabot-tidy.yml index 8234de91924..489fb950ba6 100644 --- a/.github/workflows/dependabot-tidy.yml +++ b/.github/workflows/dependabot-tidy.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Tidy all Go mods env: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 35917d38e99..29dad80b3c6 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -22,8 +22,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -38,8 +38,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" # unittests: TODO: matrix with contracts runs-on: ubuntu-latest timeout-minutes: 30 @@ -63,8 +63,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" # unittests: TODO: matrix with contracts runs-on: ubuntu-latest timeout-minutes: 10 @@ -84,7 +84,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [ "1.21.x" ] + go-version: [ "1.22.x" ] # unittests: TODO: matrix with contracts runs-on: ubuntu-latest timeout-minutes: 10 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index dea849fbb4d..3964f3d5e7b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - run: "cd misc/gendocs && make install gen" - uses: actions/configure-pages@v4 id: pages diff --git a/.github/workflows/gnoland.yml b/.github/workflows/gnoland.yml index 7c7d3747ee9..cfdf322f1aa 100644 --- a/.github/workflows/gnoland.yml +++ b/.github/workflows/gnoland.yml @@ -28,8 +28,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" goarch: [ "amd64" ] goos: [ "linux" ] program: @@ -53,8 +53,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" args: - _test.gnoland - _test.gnokey @@ -82,7 +82,7 @@ jobs: export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic" make ${{ matrix.args }} - uses: actions/upload-artifact@v3 - if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }} + if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-gnoland-${{ matrix.args}}-${{matrix.goversion}} path: ./gno.land/coverage.out diff --git a/.github/workflows/gnovm.yml b/.github/workflows/gnovm.yml index 15e0f886e1b..4f9d32e99f9 100644 --- a/.github/workflows/gnovm.yml +++ b/.github/workflows/gnovm.yml @@ -30,8 +30,8 @@ jobs: fail-fast: false matrix: goversion: # two latest versions - - "1.20.x" - "1.21.x" + - "1.22.x" goenv: # TODO: replace with pairs, so it's easier to read in the GH interface. - "GOARCH=amd64 GOOS=linux" - "GOARCH=wasm GOOS=js" @@ -53,8 +53,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" args: - _test.cmd - _test.pkg @@ -96,7 +96,7 @@ jobs: # Run target test make ${{ matrix.args }} - uses: actions/upload-artifact@v3 - if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }} + if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-gnovm-${{ matrix.args}}-${{matrix.goversion}} path: ${{ env.COVERAGE_DIR }} @@ -122,7 +122,7 @@ jobs: path: ${{ env.COVERAGE_DATA }} - uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - name: Merge coverages working-directory: ${{ env.COVERAGE_DATA }} run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b417e904e7c..bcfc779c7cf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Lint uses: golangci/golangci-lint-action@v3 @@ -37,7 +37,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install make run: sudo apt-get install -y make @@ -68,7 +68,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install make run: sudo apt-get install -y make diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index 52329e9c7d6..7b7d520e82d 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: goversion: - - "1.21.x" + - "1.22.x" program: - "genstd" runs-on: ubuntu-latest @@ -49,7 +49,7 @@ jobs: fail-fast: false matrix: goversion: - - "1.21.x" + - "1.22.x" args: - _test.genstd runs-on: ubuntu-latest diff --git a/.github/workflows/tm2.yml b/.github/workflows/tm2.yml index bbe379bb069..a3b02671eb7 100644 --- a/.github/workflows/tm2.yml +++ b/.github/workflows/tm2.yml @@ -26,8 +26,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" goarch: [ "amd64" ] goos: [ "linux" ] program: [ "./pkg/amino/cmd/aminoscan", "./pkg/amino/cmd/goscan", "./pkg/autofile/cmd", "./pkg/iavl/cmd/iaviewer" ] @@ -48,8 +48,8 @@ jobs: fail-fast: false matrix: goversion: - - "1.20.x" - "1.21.x" + - "1.22.x" args: - _test.flappy - _test.pkg.amino @@ -78,7 +78,7 @@ jobs: make ${{ matrix.args }} touch coverage.out - uses: actions/upload-artifact@v3 - if: ${{ runner.os == 'Linux' && matrix.goversion == '1.21.x' }} + if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-tm2-${{ matrix.args}}-${{matrix.goversion}} path: ./tm2/coverage.out