From f06643ac7e02ffded40857bdac19add459d09f5f Mon Sep 17 00:00:00 2001 From: Quentin Mc Gaw Date: Fri, 27 Dec 2024 13:41:07 +0100 Subject: [PATCH] chore(ci): remove `check-latest: true` to ensure the specified Go version is used --- .github/workflows/bench.yml | 1 - .github/workflows/release.yml | 1 - .github/workflows/tests.yml | 7 ------- 3 files changed, 9 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 7c7c833eb6..71f2fc2135 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -12,7 +12,6 @@ jobs: - uses: actions/setup-go@v4 with: go-version: "~1.22.8" - check-latest: true - run: go mod download shell: bash - run: ./scripts/build_bench_precompiles.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d1c4f57cb..5af8b527c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: "~1.22.8" - check-latest: true - name: Set up arm64 cross compiler run: | sudo apt-get -y update diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 784c5b4a78..896b97c969 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -49,7 +48,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: Set timeout on Windows # Windows UT run slower and need a longer timeout shell: bash if: matrix.os == 'windows-latest' @@ -77,7 +75,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: Use Node.js uses: actions/setup-node@v4 with: @@ -119,7 +116,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: Use Node.js uses: actions/setup-node@v4 with: @@ -164,7 +160,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: Install AvalancheGo Release shell: bash run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh @@ -192,7 +187,6 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ${{ env.min_go_version }} - check-latest: true - shell: bash run: scripts/mock.gen.sh - shell: bash @@ -213,7 +207,6 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.min_go_version }} - check-latest: true - name: Install AvalancheGo Release shell: bash run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh