Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,8 @@ jobs:
- name: Show Foundry version
run: forge --version

- name: Restore dependencies cache
uses: actions/cache@v4
with:
path: |
target
key: rust-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: rust-
- name: Rust cache
uses: Swatinem/rust-cache@v2

- name: Run rustfmt
run: just bindings-fmt-check
Expand All @@ -52,5 +47,11 @@ jobs:
- name: Lint Bindings
run: just bindings-lint

# bindings tests fork live RPCs via anvil; retry to absorb transient timeouts.
- name: Run Tests
run: just bindings-test
run: |
for i in 1 2 3; do
just bindings-test && exit 0
[ "$i" -lt 3 ] && { echo "attempt $i failed, retrying in 10s"; sleep 10; }
done
exit 1
Loading