Skip to content

Commit

Permalink
add foundry installation to contracts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Intizar-T committed May 8, 2024
1 parent 6f064a1 commit 4c960ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/contracts.test+publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
- "master"
paths:
- "contracts/v0.1/**"
- "contracts/v0.2/**"
- "!contracts/v0.1/**/VRFCoordinator.sol"
- "!contracts/v0.1/**/VRFConsumerBase.sol"
- "!contracts/v0.1/**/vrf/**"
- "!contracts/v0.2/analysis/**"
- "!contracts/v0.2/lib/**"
- "!contracts/v0.2/script/**"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,6 +27,10 @@ jobs:
registry-url: "https://registry.npmjs.org"
scope: "@bisonai"
always-auth: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: yarn contracts install
- run: yarn contracts prettier-solidity-check
- run: yarn contracts solhint
Expand Down

0 comments on commit 4c960ce

Please sign in to comment.