Skip to content

Commit

Permalink
GitHub Actions: pin foundry version (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre authored Apr 18, 2024
1 parent 78a96df commit 10fa644
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/contracts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defaults:

env:
FOUNDRY_PROFILE: ci
FOUNDRY_VERSION: nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9
CI: true
FORCE_COLOR: true

Expand All @@ -38,7 +39,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: ${{ env.FOUNDRY_VERSION }}

- name: Run Forge build
run: |
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: ${{ env.FOUNDRY_VERSION }}

- name: Test contracts
run: pnpm test
Expand All @@ -115,7 +116,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: ${{ env.FOUNDRY_VERSION }}

- name: Run Forge build
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/testnet-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
FOUNDRY_VERSION: nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: ${{ env.FOUNDRY_VERSION }}

- name: Run deployment tool
working-directory: ./contracts
Expand Down

0 comments on commit 10fa644

Please sign in to comment.