Skip to content

Commit

Permalink
Merge pull request #2890 from OffchainLabs/cbindgen-fix2
Browse files Browse the repository at this point in the history
Add cbindgen to both workflows
  • Loading branch information
eljobe authored Jan 20, 2025
2 parents 6c3b458 + 7244e7a commit 0dc626d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:

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

- name: Install cbindgen
run: cargo install --force cbindgen

- name: Cache Build Products
uses: actions/cache@v3
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install cbindgen
run: cargo install --force cbindgen

- name: Cache Rust Build Products
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/
~/.cargo/git/
~/.cargo/
arbitrator/target/
arbitrator/wasm-libraries/target/
arbitrator/wasm-libraries/soft-float/SoftFloat/build
Expand Down Expand Up @@ -128,7 +130,7 @@ jobs:
restore-keys: ${{ runner.os }}-go-

- name: Build all lint dependencies
run: cargo install --force cbindgen && make -j build-node-deps
run: make -j build-node-deps

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down

0 comments on commit 0dc626d

Please sign in to comment.