From f93ca84a7bb64fb0764ac29a1d896d1c85492d1d Mon Sep 17 00:00:00 2001 From: JacqueGM Date: Mon, 7 Aug 2023 18:19:02 +0200 Subject: [PATCH 1/2] fix git workflow --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e64dce5..2301282 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,8 +25,8 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - name: Setup PATH run: echo ~/.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: Build run: cargo build --verbose - name: Download safes From 39bbde179fb0d28b30e87defe079b8677330ca41 Mon Sep 17 00:00:00 2001 From: JacqueGM Date: Mon, 7 Aug 2023 18:26:56 +0200 Subject: [PATCH 2/2] remove white spaces --- .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 6fe3804..6d5e501 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,10 +22,10 @@ jobs: ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - + - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - + - name: Format run: cargo fmt --check --verbose - name: Lint @@ -33,9 +33,9 @@ jobs: - 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