diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index c7f209687c4..cb0eddcef19 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -15,4 +15,4 @@ jobs: assign-author: runs-on: ubuntu-latest steps: - - uses: toshimaru/auto-author-assign@v2.0.1 + - uses: toshimaru/auto-author-assign@v2.1.0 diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 17e1456e24a..74686be6a8f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 1 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "1.22.x" - name: "gobenchdata publish: ${{ inputs.publish }}" diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index d516b67cc10..206a7bda0cf 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x diff --git a/.github/workflows/contribs.yml b/.github/workflows/contribs.yml index f86680e667e..c09e74fe83f 100644 --- a/.github/workflows/contribs.yml +++ b/.github/workflows/contribs.yml @@ -29,7 +29,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - run: make install ${{ matrix.program }} diff --git a/.github/workflows/db-tests.yml b/.github/workflows/db-tests.yml index 3f2544378fd..32d04befaeb 100644 --- a/.github/workflows/db-tests.yml +++ b/.github/workflows/db-tests.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 # golang - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} diff --git a/.github/workflows/dependabot-tidy.yml b/.github/workflows/dependabot-tidy.yml index 489fb950ba6..035e3246345 100644 --- a/.github/workflows/dependabot-tidy.yml +++ b/.github/workflows/dependabot-tidy.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 29dad80b3c6..e5178c3e4c2 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -28,7 +28,7 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - run: go install -v ./gnovm/cmd/gno @@ -45,7 +45,7 @@ jobs: timeout-minutes: 30 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: Set environment variables for debug mode @@ -70,7 +70,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - run: go install -v ./gnovm/cmd/gno @@ -89,7 +89,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - uses: actions/checkout@v4 diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 52de6a09b80..9f1c11eb4ea 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -28,10 +28,10 @@ jobs: run: mv .github/.fossa.yml . - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.4 + uses: coursier/cache-action@v6.4.5 - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + uses: coursier/setup-action@v1.3.5 with: jvm: temurin:1.17 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3964f3d5e7b..94525fff505 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -21,13 +21,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "1.22.x" - run: "cd misc/gendocs && make install gen" - uses: actions/configure-pages@v4 id: pages - - uses: actions/upload-pages-artifact@v2 + - uses: actions/upload-pages-artifact@v3 with: path: ./misc/gendocs/godoc @@ -39,5 +39,5 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} needs: build steps: - - uses: actions/deploy-pages@v2 + - uses: actions/deploy-pages@v4 id: deployment diff --git a/.github/workflows/gnoland.yml b/.github/workflows/gnoland.yml index 58ec7b480d1..3306bd1709c 100644 --- a/.github/workflows/gnoland.yml +++ b/.github/workflows/gnoland.yml @@ -41,7 +41,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: go install @@ -64,7 +64,7 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: Set environment variables for debug mode @@ -81,13 +81,13 @@ jobs: export GOPATH=$HOME/go export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic" make ${{ matrix.args }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-gnoland-${{ matrix.args}}-${{matrix.goversion}} path: ./gno.land/coverage.out - name: Upload Debug Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && runner.debug == 1 }} with: name: logs-test-go${{ matrix.goversion }}-${{ matrix.args }} @@ -98,11 +98,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all previous coverage artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ runner.temp }}/coverage - name: Upload combined coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ runner.temp }}/coverage token: ${{ secrets.CODECOV_TOKEN }} @@ -115,7 +115,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.22.x # TODO: setup docker caching diff --git a/.github/workflows/gnovm.yml b/.github/workflows/gnovm.yml index 4f9d32e99f9..f02e040335c 100644 --- a/.github/workflows/gnovm.yml +++ b/.github/workflows/gnovm.yml @@ -41,7 +41,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: go install @@ -71,7 +71,7 @@ jobs: COVERAGE_DIR: "/tmp/coverage" steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: Set environment variables for debug mode @@ -95,13 +95,13 @@ jobs: # Run target test make ${{ matrix.args }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-gnovm-${{ matrix.args}}-${{matrix.goversion}} path: ${{ env.COVERAGE_DIR }} - name: Upload Debug Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && runner.debug == 1 }} with: name: logs-test-go${{ matrix.goversion }}-${{ matrix.args }} @@ -117,10 +117,10 @@ jobs: steps: - run: mkdir -p $COVERAGE_DATA $COVERAGE_OUTPUT - name: Download all previous coverage data artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ env.COVERAGE_DATA }} - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: "1.22.x" - name: Merge coverages @@ -140,7 +140,7 @@ jobs: go tool covdata textfmt -v 1 -i=$COVERAGE_OUTPUT -o $COVERAGE_PROFILE - name: Upload combined coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{ env.COVERAGE_PROFILE }} token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index c304f89f4d5..02395d8b63d 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -13,4 +13,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bcfc779c7cf..481199825a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,12 +17,12 @@ jobs: uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x - name: Lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: # sync with misc/devdeps/go.mod version: v1.54 @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x @@ -66,7 +66,7 @@ jobs: uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.22.x diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index 7b7d520e82d..f661cdf88ce 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -34,7 +34,7 @@ jobs: timeout-minutes: 5 steps: - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: Checkout code @@ -59,7 +59,7 @@ jobs: uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} @@ -80,7 +80,7 @@ jobs: make ${{ matrix.args }} - if: runner.os == 'Linux' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} name: misc diff --git a/.github/workflows/tm2.yml b/.github/workflows/tm2.yml index a3b02671eb7..3cf83a3c28a 100644 --- a/.github/workflows/tm2.yml +++ b/.github/workflows/tm2.yml @@ -35,7 +35,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: go install @@ -59,7 +59,7 @@ jobs: timeout-minutes: 21 steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.goversion }} - name: Set environment variables for debug mode @@ -77,13 +77,13 @@ jobs: export GOTEST_FLAGS="-v -p 1 -timeout=20m -coverprofile=coverage.out -covermode=atomic" make ${{ matrix.args }} touch coverage.out - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ runner.os == 'Linux' && matrix.goversion == '1.22.x' }} with: name: ${{runner.os}}-coverage-tm2-${{ matrix.args}}-${{matrix.goversion}} path: ./tm2/coverage.out - name: Upload Debug Logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() && runner.debug == 1 }} with: name: logs-test-go${{ matrix.goversion }}-${{ matrix.args }} @@ -94,11 +94,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all previous coverage artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ runner.temp }}/coverage - name: Upload combined coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: directory: ${{ runner.temp }}/coverage token: ${{ secrets.CODECOV_TOKEN }}