From a0db77996db8516afa5a79a952e7e94b25624d09 Mon Sep 17 00:00:00 2001 From: jon r Date: Tue, 28 Mar 2023 19:10:58 +0200 Subject: [PATCH] feat(workflow/test): Format and Lint before Build and Test --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e64dce5..6863f0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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