feat(workflow/test): Format and Lint before Build and Test
This commit is contained in:
parent
f55ef54d99
commit
a0db77996d
1 changed files with 4 additions and 4 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -27,13 +27,13 @@ jobs:
|
|||
run: echo ~/.foundry/bin/ >> $GITHUB_PATH
|
||||
- name: Install Dependencies
|
||||
run: curl -L https://foundry.paradigm.xyz | bash && foundryup
|
||||
- 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
|
||||
- name: Lint
|
||||
run: cargo clippy --all --all-features -- -D warnings
|
||||
- name: Format
|
||||
run: cargo fmt --check --verbose
|
||||
|
|
Loading…
Reference in a new issue