diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b0a0853f..4ab03e14 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,15 @@ env: FOUNDRY_PROFILE: ci jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - uses: onbjerg/foundry-toolchain@v1 + - run: forge fmt --check + test: runs-on: ubuntu-latest steps: @@ -21,12 +30,9 @@ jobs: node-version: 18 - run: yarn + uses: onbjerg/foundry-toolchain@v1 - - uses: onbjerg/foundry-toolchain@v1 - run: forge test --ffi -vvv + - run: forge snapshot + - lint: - runs-on: ubuntu-latest - steps: - - uses: onbjerg/foundry-toolchain@v1 - - run: forge fmt --check