diff --git a/.github/workflows/abi_bindings_checker.yml b/.github/workflows/abi_bindings_checker.yml index 7572eb8..6a0108e 100644 --- a/.github/workflows/abi_bindings_checker.yml +++ b/.github/workflows/abi_bindings_checker.yml @@ -19,15 +19,10 @@ jobs: with: submodules: recursive - - 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..c0daf29 100644 --- a/.github/workflows/gomod_check.yml +++ b/.github/workflows/gomod_check.yml @@ -18,13 +18,9 @@ jobs: with: submodules: recursive - - 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..a2a1a9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,15 +36,10 @@ jobs: with: submodules: recursive - - 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/go.mod b/go.mod index 0078bde..14b3c84 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ava-labs/receipt-proofs-poc -go 1.21.11 +go 1.21.12 require ( github.com/ava-labs/avalanchego v1.11.1