-
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
183f337
commit c3e0d07
Showing
7 changed files
with
38 additions
and
38 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
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 |
---|---|---|
|
@@ -44,12 +44,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 }} | ||
|
||
|
@@ -58,14 +58,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') }} | ||
|
@@ -78,7 +78,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 }} | ||
|
||
|
@@ -89,12 +89,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 }} | ||
|
||
|
@@ -103,14 +103,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') }} | ||
|
@@ -129,15 +129,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 }} | ||
|
||
|
@@ -146,14 +146,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') }} | ||
|
@@ -166,7 +166,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 | ||
|
@@ -178,26 +178,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 }} | ||
|
||
|
@@ -206,14 +206,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') }} | ||
|
@@ -236,7 +236,7 @@ jobs: | |
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 | ||
|
@@ -270,7 +270,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | ||
with: | ||
submodules: true | ||
|
||
|
@@ -281,7 +281,7 @@ jobs: | |
run: make get-versions > $GITHUB_ENV | ||
|
||
- name: Setup Crane | ||
uses: imjasonh/[email protected] | ||
uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4 | ||
|
||
- name: Login to Spaces Artifacts Registry | ||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 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
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
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