From cce92a16f2d4b2c30274049c02741e9b45f5aa8c Mon Sep 17 00:00:00 2001 From: leovct Date: Tue, 14 Jan 2025 09:25:09 +0100 Subject: [PATCH] ci: use stable foundry version --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77587c18..6d4a98f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,16 @@ concurrency: cancel-in-progress: true env: + ARCH: "linux-x86_64" + GO_VERSION: "1.22" # https://go.dev/dl/ STRINGER_VERSION: "0.29.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions - # Protoc dependencies. + PROTOC_VERSION: "29.3" # https://github.com/protocolbuffers/protobuf/releases PROTOC_GEN_GO_VERSION: "1.36.2" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions PROTOC_GEN_GO_GRPC_VERSION: "1.5.1" # https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc?tab=versions - ARCH: "linux-x86_64" + + FOUNDRY_VERSION: stable jobs: lint: @@ -72,7 +75,7 @@ jobs: - name: Install foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: ${{ env.FOUNDRY_VERSION }} - name: Get forge version run: forge --version - name: Install contract dependencies @@ -121,7 +124,8 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - # foundry only has nightly versions no we don't specify a version at the moment. + with: + version: ${{ env.FOUNDRY_VERSION }} - name: Install Geth run: | if [ "${{ matrix.tool }}" = "geth" ]; then