From f7371c7dc5ea7c283bbdfacf16f1f30249d74347 Mon Sep 17 00:00:00 2001 From: Kevin Halliday Date: Wed, 14 Aug 2024 14:16:41 -0400 Subject: [PATCH] chore(ci): lock go minor version in ci (#1721) Lock go minor version in ci Locking goversion to 1.22 in ci until we can upgrade to 1.23. Upgrade to 1.23 is blocked by https://github.com/ethereum/go-ethereum/issues/30100 issue: none --- .github/workflows/check-sol-artifacts.yml | 2 +- .github/workflows/ci-verifypr.yml | 2 +- .github/workflows/clicommand.yml | 4 ++-- .github/workflows/e2etest.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/gotest.yml | 2 +- .github/workflows/pr-e2etest.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check-sol-artifacts.yml b/.github/workflows/check-sol-artifacts.yml index f3e73ad2c..e1922316c 100644 --- a/.github/workflows/check-sol-artifacts.yml +++ b/.github/workflows/check-sol-artifacts.yml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - name: Install pnpm diff --git a/.github/workflows/ci-verifypr.yml b/.github/workflows/ci-verifypr.yml index 91ad7c2a0..e89a2b23d 100644 --- a/.github/workflows/ci-verifypr.yml +++ b/.github/workflows/ci-verifypr.yml @@ -12,6 +12,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: "Verify PR" run: go run github.com/omni-network/omni/scripts/verifypr diff --git a/.github/workflows/clicommand.yml b/.github/workflows/clicommand.yml index 554ef22ec..c74fb0fec 100644 --- a/.github/workflows/clicommand.yml +++ b/.github/workflows/clicommand.yml @@ -28,7 +28,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Build binaries uses: goreleaser/goreleaser-action@v5 @@ -109,7 +109,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Configure Git run: | diff --git a/.github/workflows/e2etest.yml b/.github/workflows/e2etest.yml index 078482be3..f65de9d5b 100644 --- a/.github/workflows/e2etest.yml +++ b/.github/workflows/e2etest.yml @@ -12,7 +12,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Run e2e tests run: make e2e-ci diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 11f144c79..53624027e 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/gotest.yml b/.github/workflows/gotest.yml index 221fb236a..69b273530 100644 --- a/.github/workflows/gotest.yml +++ b/.github/workflows/gotest.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' # TODO(corver): add coverage - name: Pull anvil # This can be slow and cause timeouts run: docker pull ghcr.io/foundry-rs/foundry:latest diff --git a/.github/workflows/pr-e2etest.yml b/.github/workflows/pr-e2etest.yml index 640589e09..c128713a9 100644 --- a/.github/workflows/pr-e2etest.yml +++ b/.github/workflows/pr-e2etest.yml @@ -12,7 +12,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Build binaries uses: goreleaser/goreleaser-action@v5 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 35b2d17cf..0a9188786 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,6 +17,6 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: '1.22' - name: Run pre-commit hooks uses: pre-commit/action@v3.0.1