generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 3
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
b18eefa
commit 5cbf6c0
Showing
1 changed file
with
15 additions
and
15 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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
steps: | ||
- name: Detect No-op Changes | ||
id: noop | ||
uses: fkirc/[email protected] | ||
uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v5.3.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
paths_ignore: '["**.md", "**.png", "**.jpg"]' | ||
|
@@ -45,7 +45,7 @@ jobs: | |
|
||
- name: Get modified CRDs | ||
id: modified-crds | ||
uses: tj-actions/changed-files@v34 | ||
uses: tj-actions/changed-files@ce4b8e3cba2220de8132ac9721ff754efd6bb7d7 # v34 | ||
with: | ||
files: | | ||
package/crds/** | ||
|
@@ -81,14 +81,14 @@ jobs: | |
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
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@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -100,7 +100,7 @@ jobs: | |
# We could run 'make lint' but we prefer 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 }} | ||
|
||
|
@@ -128,14 +128,14 @@ jobs: | |
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
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@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -171,14 +171,14 @@ jobs: | |
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
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@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -220,14 +220,14 @@ jobs: | |
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
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@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|
@@ -251,13 +251,13 @@ jobs: | |
platforms: all | ||
|
||
- name: Setup Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 | ||
with: | ||
version: ${{ env.DOCKER_BUILDX_VERSION }} | ||
install: true | ||
|
||
- name: Login to Upbound | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 | ||
if: env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' | ||
with: | ||
registry: xpkg.upbound.io | ||
|
@@ -282,14 +282,14 @@ jobs: | |
run: echo "cache=$(make go.cachedir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Cache the Go Build Cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
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@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: .work/pkg | ||
key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} | ||
|