Merge pull request #44 from CirclesUBI/fix-gitactions

fix git workflow
This commit is contained in:
JacqueGM 2023-08-07 18:28:03 +02:00 committed by GitHub
commit a1d38ad1c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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