-
-
Notifications
You must be signed in to change notification settings - Fork 391
Remove ignored paths #1623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ignored paths #1623
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,22 @@ on: | |
pull_request: | ||
branches: | ||
- '**' | ||
paths-ignore: | ||
- '**/docs/**' | ||
- '**.md' | ||
- '**/LICENSE' | ||
- '.circleci/**' | ||
- 'install/**' | ||
- 'nix/**' | ||
- 'test/**' | ||
- 'ghcide/test/**' | ||
|
||
jobs: | ||
pre_job: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
should_skip: ${{ steps.skip_check.outputs.should_skip }} | ||
steps: | ||
- id: skip_check | ||
uses: fkirc/skip-duplicate-actions@master | ||
with: | ||
cancel_others: true | ||
paths_ignore: '["**/docs/**", "**.md", "**/LICENSE", ".circleci/**", "install/**", "nix/**", "**/test/**"]' | ||
|
||
bench-init: | ||
needs: pre_job | ||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
|
@@ -86,6 +90,8 @@ jobs: | |
path: ~/.cabal/cabal.tar.gz | ||
|
||
bench-example: | ||
needs: pre_job | ||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | ||
needs: [bench-init] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to have two There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the case that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will skip its computation but from the GitHub's point of view I think the jot itself is not skipped, and will execute following jobs... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even if the action lets you duplicate keys it is better to have only one, will change EDIT: And it is not valid:
jneira marked this conversation as resolved.
Show resolved
Hide resolved
|
||
runs-on: ${{ matrix.os }} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.