Skip to content

Commit

Permalink
Merge pull request #92 from OffchainLabs/use-action
Browse files Browse the repository at this point in the history
Use gh action to check for errors
  • Loading branch information
gvladika authored Jul 24, 2024
2 parents 712f970 + a9d61ad commit d1421d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 71 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: yarn test

test-contracts:
name: Test storage layout and signatures
name: Test storage layout, signatures and look for unused errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -98,8 +98,11 @@ jobs:
- name: Test function signatures
run: yarn run test:signatures

- name: Test unused errors
run: yarn run test:unused:errors
- name: Run unused Solidity errors checker
uses: OffchainLabs/actions/check-unused-errors@unused-errors
with:
directory: './contracts'
exceptions_file: './test/unused-errors/exceptions.txt'

test-e2e:
name: Test e2e
Expand Down
68 changes: 0 additions & 68 deletions test/unused-errors/find_unused_errors.sh

This file was deleted.

0 comments on commit d1421d8

Please sign in to comment.