From 67b069631f2e5f240963955af51d30f3f62ace9c Mon Sep 17 00:00:00 2001 From: Michael Kaplan Date: Fri, 5 Jul 2024 10:13:54 -0400 Subject: [PATCH 1/3] Golang v1.21.12 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 0e5e3f1326d076fca41fade740e207d4dc96170c Mon Sep 17 00:00:00 2001 From: Michael Kaplan Date: Fri, 5 Jul 2024 10:25:05 -0400 Subject: [PATCH 2/3] actions/setup-go uses go.mod --- .github/workflows/abi_bindings_checker.yml | 3 +-- .github/workflows/gomod_check.yml | 3 +-- .github/workflows/test.yml | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) 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 From 230b5330a5a607de2d37315149db07a8842b941e Mon Sep 17 00:00:00 2001 From: Michael Kaplan Date: Fri, 5 Jul 2024 10:45:02 -0400 Subject: [PATCH 3/3] actions/setup-go uses go.mod --- .github/workflows/abi_bindings_checker.yml | 4 ---- .github/workflows/gomod_check.yml | 3 --- .github/workflows/test.yml | 4 ---- 3 files changed, 11 deletions(-) diff --git a/.github/workflows/abi_bindings_checker.yml b/.github/workflows/abi_bindings_checker.yml index 4c35172..6a0108e 100644 --- a/.github/workflows/abi_bindings_checker.yml +++ b/.github/workflows/abi_bindings_checker.yml @@ -19,10 +19,6 @@ jobs: with: submodules: recursive - - name: Set Go version - run: | - source ./scripts/versions.sh - - name: Setup Go uses: actions/setup-go@v5 with: diff --git a/.github/workflows/gomod_check.yml b/.github/workflows/gomod_check.yml index ee3d301..c0daf29 100644 --- a/.github/workflows/gomod_check.yml +++ b/.github/workflows/gomod_check.yml @@ -18,9 +18,6 @@ jobs: with: submodules: recursive - - run: | - source ./scripts/versions.sh - - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d9ba1b..a2a1a9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,10 +36,6 @@ jobs: with: submodules: recursive - - name: Set Go version - run: | - source ./scripts/versions.sh - - name: Setup Go uses: actions/setup-go@v5 with: