Skip to content

Commit

Permalink
ci(protocol): check lint in protocol workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dionysuzx committed Feb 12, 2024
1 parent a9bf1d1 commit 8da3b0d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,27 @@ jobs:
uses: ./.github/actions/install-pnpm-dependencies

- name: Check formatting
working-directory: ./packages/protocol
run: forge fmt --check

- name: protocol - Unit Tests
- name: Unit Tests
working-directory: ./packages/protocol
run: pnpm clean && pnpm test

- name: protocol - Generate Genesis
- name: Generate Genesis
working-directory: ./packages/protocol
run: pnpm test:genesis

# TODO: CompilerError: Stack too deep
# - name: protocol - Test Coverage
# - name: Test Coverage
# working-directory: ./packages/protocol
# run: pnpm test:coverage

- name: protocol - Run snapshot (foundry)
- name: Run snapshot (foundry)
working-directory: ./packages/protocol
run: pnpm snapshot

- name: protocol - Deploy L1 Contracts
- name: Deploy L1 Contracts
working-directory: ./packages/protocol
run: |
anvil &
Expand All @@ -58,7 +59,7 @@ jobs:
done
pnpm deploy:foundry
# - name: protocol - Upload coverage to Codecov
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# directory: ./packages/protocol/coverage
Expand Down

0 comments on commit 8da3b0d

Please sign in to comment.