commit
a1d38ad1c7
1 changed files with 7 additions and 4 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -22,17 +22,20 @@ jobs:
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
target
|
target
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
||||||
- name: Setup PATH
|
|
||||||
run: echo ~/.config/.foundry/bin/ >> $GITHUB_PATH
|
- name: Install Foundry
|
||||||
- name: Install Dependencies
|
uses: foundry-rs/foundry-toolchain@v1
|
||||||
run: curl -L https://foundry.paradigm.xyz | bash && foundryup
|
|
||||||
- name: Format
|
- name: Format
|
||||||
run: cargo fmt --check --verbose
|
run: cargo fmt --check --verbose
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: cargo clippy --all --all-features -- -D warnings
|
run: cargo clippy --all --all-features -- -D warnings
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
|
|
||||||
- name: Download safes
|
- name: Download safes
|
||||||
run: wget -q -c https://rpc.circlesubi.id/pathfinder-db/capacity_graph.db
|
run: wget -q -c https://rpc.circlesubi.id/pathfinder-db/capacity_graph.db
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
|
|
Loading…
Reference in a new issue