-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84abf1d
commit d275a95
Showing
7 changed files
with
42 additions
and
42 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 |
---|---|---|
|
@@ -22,12 +22,12 @@ jobs: | |
if: github.event.pull_request.merged | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Open Backport PR | ||
uses: zeebe-io/[email protected] | ||
uses: zeebe-io/backport-action@6d30c3afa2146e1370dfaae83e99cdd1ee3bcba4 # v0.0.4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_workspace: ${{ github.workspace }} | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
steps: | ||
- name: Detect No-op Changes | ||
id: noop | ||
uses: fkirc/[email protected] | ||
uses: fkirc/skip-duplicate-actions@6c53680b94a85f32e367c7c17e2fb8cbcce56193 # v2.1.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
paths_ignore: '["**.md", "**.png", "**.jpg"]' | ||
|
@@ -43,12 +43,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
|
@@ -57,14 +57,14 @@ jobs: | |
run: echo "::set-output name=cache::$(go env GOCACHE)" | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: ${{ steps.go.outputs.cache }} | ||
key: ${{ runner.os }}-build-lint-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-build-lint- | ||
|
||
- name: Cache Go Dependencies | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -77,7 +77,7 @@ jobs: | |
# this action because it leaves 'annotations' (i.e. it comments on PRs to | ||
# point out linter violations). | ||
- name: Lint | ||
uses: golangci/golangci-lint-action@v3 | ||
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3 | ||
with: | ||
version: ${{ env.GOLANGCI_VERSION }} | ||
|
||
|
@@ -88,12 +88,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
|
@@ -102,14 +102,14 @@ jobs: | |
run: echo "::set-output name=cache::$(go env GOCACHE)" | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: ${{ steps.go.outputs.cache }} | ||
key: ${{ runner.os }}-build-check-diff-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-build-check-diff- | ||
|
||
- name: Cache Go Dependencies | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -128,15 +128,15 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Fetch History | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
|
@@ -145,14 +145,14 @@ jobs: | |
run: echo "::set-output name=cache::$(go env GOCACHE)" | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: ${{ steps.go.outputs.cache }} | ||
key: ${{ runner.os }}-build-unit-tests-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-build-unit-tests- | ||
|
||
- name: Cache Go Dependencies | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -165,7 +165,7 @@ jobs: | |
run: make -j2 test | ||
|
||
- name: Publish Unit Test Coverage | ||
uses: codecov/codecov-action@v1 | ||
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1 | ||
with: | ||
flags: unittests | ||
file: _output/tests/linux_amd64/coverage.txt | ||
|
@@ -177,26 +177,26 @@ jobs: | |
|
||
steps: | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1 | ||
with: | ||
platforms: all | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1 | ||
with: | ||
version: ${{ env.DOCKER_BUILDX_VERSION }} | ||
install: true | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Fetch History | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
|
@@ -205,14 +205,14 @@ jobs: | |
run: echo "::set-output name=cache::$(go env GOCACHE)" | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: ${{ steps.go.outputs.cache }} | ||
key: ${{ runner.os }}-build-publish-artifacts-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-build-publish-artifacts- | ||
|
||
- name: Cache Go Dependencies | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -229,13 +229,13 @@ jobs: | |
BUILD_ARGS: "--load" | ||
|
||
- name: Publish Artifacts to GitHub | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2 | ||
with: | ||
name: output | ||
path: _output/** | ||
|
||
- name: Login to Upbound Marketplace | ||
uses: docker/login-action@v1 | ||
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1 | ||
if: env.XPKG_ACCESS_ID != '' | ||
with: | ||
registry: xpkg.upbound.io | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
steps: | ||
- name: Extract Command | ||
id: command | ||
uses: xt0rted/slash-command-action@v1 | ||
uses: xt0rted/slash-command-action@865ee04a1dfc8aa2571513eee8e84b5377153511 # v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
command: points | ||
|
@@ -19,7 +19,7 @@ jobs: | |
allow-edits: "false" | ||
permission-level: write | ||
- name: Handle Command | ||
uses: actions/github-script@v4 | ||
uses: actions/github-script@10b53a9ec6c222bb4ce97aa6bd2b5f739696b536 # v4 | ||
env: | ||
POINTS: ${{ steps.command.outputs.command-arguments }} | ||
with: | ||
|
@@ -70,7 +70,7 @@ jobs: | |
steps: | ||
- name: Extract Command | ||
id: command | ||
uses: xt0rted/slash-command-action@v1 | ||
uses: xt0rted/slash-command-action@865ee04a1dfc8aa2571513eee8e84b5377153511 # v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
command: backport | ||
|
@@ -80,12 +80,12 @@ jobs: | |
permission-level: write | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Open Backport PR | ||
uses: zeebe-io/[email protected] | ||
uses: zeebe-io/backport-action@6d30c3afa2146e1370dfaae83e99cdd1ee3bcba4 # v0.0.4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_workspace: ${{ github.workspace }} | ||
|
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
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
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
steps: | ||
- name: Detect No-op Changes | ||
id: noop | ||
uses: fkirc/[email protected] | ||
uses: fkirc/skip-duplicate-actions@6c53680b94a85f32e367c7c17e2fb8cbcce56193 # v2.1.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
paths_ignore: '["**.md", "**.png", "**.jpg"]' | ||
|
@@ -37,15 +37,15 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Fetch History | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
|
@@ -54,21 +54,21 @@ jobs: | |
run: echo "::set-output name=cache::$(go env GOCACHE)" | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: ${{ steps.go.outputs.cache }} | ||
key: ${{ runner.os }}-build-unit-tests-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-build-unit-tests- | ||
|
||
- name: Cache Go Dependencies | ||
uses: actions/cache@v2 | ||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-pkg- | ||
|
||
- name: Login to Docker | ||
uses: docker/login-action@v1 | ||
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1 | ||
if: env.DOCKER_USR != '' | ||
with: | ||
username: ${{ secrets.DOCKER_USR }} | ||
|
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