Skip to content

Commit c0afe7d

Browse files
committed
Cancel earlier queued bench workflows
1 parent 691d821 commit c0afe7d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/bench.yml

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
os: [ubuntu-latest]
1313

1414
steps:
15+
# Cancel queued workflows from earlier commits in this branch
16+
- uses: fkirc/skip-duplicate-actions@master
17+
1518
- uses: actions/checkout@v2
1619
- run: git fetch origin master # check the master branch for benchmarking
1720
- uses: haskell/actions/setup@v1
@@ -81,6 +84,9 @@ jobs:
8184
example: ['Cabal-3.0.0.0', 'lsp-types-1.0.0.1']
8285

8386
steps:
87+
# Cancel queued workflows from earlier commits in this branch
88+
- uses: fkirc/skip-duplicate-actions@master
89+
8490
- uses: haskell/actions/setup@v1
8591
with:
8692
ghc-version: ${{ matrix.ghc }}

0 commit comments

Comments
 (0)