Skip to content

Commit

Permalink
Merge pull request #44 from CirclesUBI/fix-gitactions
Browse files Browse the repository at this point in the history
fix git workflow
  • Loading branch information
JacqueGM authored Aug 7, 2023
2 parents 43126cf + 39bbde1 commit a1d38ad
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,20 @@ jobs:
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Setup PATH
run: echo ~/.config/.foundry/bin/ >> $GITHUB_PATH
- name: Install Dependencies
run: curl -L https://foundry.paradigm.xyz | bash && foundryup

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

- name: Format
run: cargo fmt --check --verbose
- name: Lint
run: cargo clippy --all --all-features -- -D warnings

- name: Build
run: cargo build --verbose

- name: Download safes
run: wget -q -c https://rpc.circlesubi.id/pathfinder-db/capacity_graph.db

- name: Run tests
run: cargo test --verbose

0 comments on commit a1d38ad

Please sign in to comment.