Skip to content

Commit

Permalink
Fix Rust testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhuiluo authored and gnarlycow committed Jan 6, 2024
1 parent 3d09e1a commit a992092
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ jobs:
with:
submodules: recursive

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
cache-dependency-path: "yarn.lock"

- name: Install dependencies 📦
run: yarn install --frozen-lockfile

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Generate contract Rust bindings
run: forge bind -b src/bindings/ --module --overwrite

- name: Cache Cargo registry
uses: actions/cache@v3
with:
Expand Down

0 comments on commit a992092

Please sign in to comment.