Skip to content

Commit

Permalink
ci: cancel previous workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f committed Mar 2, 2023
1 parent 4367cc1 commit b1ecd4e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ jobs:
timeout-minutes: 30
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
with:
all_but_latest: true

- uses: actions/setup-go@v3
with:
go-version: 1.19
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
]
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
with:
all_but_latest: true

- uses: actions/setup-go@v3
with:
go-version: 1.19
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/mocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
mocks-check:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
with:
all_but_latest: true

- uses: actions/checkout@v3

- uses: actions/setup-go@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
timeout-minutes: 60
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action
with:
all_but_latest: true

- uses: actions/setup-go@v3
with:
go-version: 1.19
Expand Down

0 comments on commit b1ecd4e

Please sign in to comment.