feat(workflow/test): Format and Lint before Build and Test

This commit is contained in:
jon r 2023-03-28 19:10:58 +02:00
parent f55ef54d99
commit a0db77996d

View file

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