diff --git a/.github/workflows/abi_bindings_checker.yml b/.github/workflows/abi_bindings_checker.yml index 7572eb8..4c35172 100644 --- a/.github/workflows/abi_bindings_checker.yml +++ b/.github/workflows/abi_bindings_checker.yml @@ -22,12 +22,11 @@ jobs: - name: Set Go version run: | source ./scripts/versions.sh - echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV - name: Setup Go uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'go.mod' - name: Install Foundry run: ./scripts/install_foundry.sh diff --git a/.github/workflows/gomod_check.yml b/.github/workflows/gomod_check.yml index 098066d..ee3d301 100644 --- a/.github/workflows/gomod_check.yml +++ b/.github/workflows/gomod_check.yml @@ -20,11 +20,10 @@ jobs: - run: | source ./scripts/versions.sh - echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV - uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'go.mod' - run: go mod tidy - run: git --no-pager diff -- go.mod go.sum # This prints the diff diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0828be..7d9ba1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,12 +39,11 @@ jobs: - name: Set Go version run: | source ./scripts/versions.sh - echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV - name: Setup Go uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'go.mod' - name: Install Foundry run: ./scripts/install_foundry.sh