-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): cancel previous workflow runs (#3140)
- Loading branch information
1 parent
641a90f
commit 791edbe
Showing
11 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,11 @@ jobs: | |
linting: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,11 @@ jobs: | |
copyright-check: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,11 @@ jobs: | |
update: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
env: | ||
DOCKER_BUILDKIT: "1" | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: docker/build-push-action@v4 | ||
with: | ||
load: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
env: | ||
DOCKER_BUILDKIT: "1" | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: docker/build-push-action@v4 | ||
with: | ||
load: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
env: | ||
DOCKER_BUILDKIT: "1" | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: docker/build-push-action@v4 | ||
with: | ||
load: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
env: | ||
DOCKER_BUILDKIT: "1" | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: docker/build-push-action@v4 | ||
with: | ||
load: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ jobs: | |
timeout-minutes: 30 | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,11 @@ jobs: | |
] | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,11 @@ jobs: | |
mocks-check: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-go@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,11 @@ jobs: | |
timeout-minutes: 60 | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
|