Skip to content

Commit

Permalink
fix: Reorder CI elements to run forge fmt on the correct code (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-alchemy authored and jaypaik committed Jan 25, 2024
1 parent eef10df commit dacef44
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-5be158ba6dc7c798a6f032026fe60fc01686b33b
- run: forge install

- run: forge fmt --check

- name: "Check out the repo"
uses: "actions/checkout@v3"
Expand All @@ -43,6 +40,10 @@ jobs:
- name: "Install the Node.js dependencies"
run: "pnpm install"

- run: forge install

- run: forge fmt --check

- name: "Lint the contracts"
run: "pnpm lint"

Expand Down

0 comments on commit dacef44

Please sign in to comment.