Skip to content

Commit

Permalink
ci: add checks for actual changes on circuits
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed May 10, 2024
1 parent d690063 commit d9e5eb9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,14 @@ jobs:
- name: Install dependencies
run: yarn

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files_yaml: |
circuits:
- packages/**/*.{circom,json,ts}
- if: steps.changed-files.outputs.circuits_any_changed == 'true'
- name: Test circuits
run: yarn test
9 changes: 9 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,14 @@ jobs:
- name: Install dependencies
run: yarn

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files_yaml: |
circuits:
- packages/**/*.{circom,json,ts}
- if: steps.changed-files.outputs.circuits_any_changed == 'true'
- name: Test circuits
run: yarn test

0 comments on commit d9e5eb9

Please sign in to comment.