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 01794b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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
7 changes: 3 additions & 4 deletions .github/workflows/ci-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ 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'
- '!**/*.md'
- 'specification/schema/**'
# - '!**/*.md'

check:
needs: changes
Expand Down

0 comments on commit 01794b4

Please sign in to comment.