Skip to content

Commit

Permalink
test: smaller paths-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Mar 18, 2024
1 parent 2ec0f2b commit 45b3807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
python: ${{ github.ref_name == github.event.repository.default_branch || steps.filter.outputs.python }}
steps:
# For pull requests it's not necessary to checkout the code
- if: github.ref_name != github.event.repository.default_branch
uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ jobs:
rust: ${{ github.ref_name == github.event.repository.default_branch || steps.filter.outputs.rust }}
steps:
# For pull requests it's not necessary to checkout the code
- if: github.ref_name != github.event.repository.default_branch
uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
rust:
- 'quantinuum-hugr/**'
- 'specification/schema/**'
- 'Cargo.toml'
- 'specification/schema/**'
- '!**/*.md'
check:
Expand Down

0 comments on commit 45b3807

Please sign in to comment.