Skip to content

Commit a2c1600

Browse files
authored
🔄 synced local '.github/workflows' with remote 'gitops/shared-files/functions/workflows' (#82)
Co-authored-by: upbound-bot <null>
1 parent accae00 commit a2c1600

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
runs-on: ubuntu-24.04
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v5
43+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
4444

4545
- name: Setup Go
46-
uses: actions/setup-go@v6
46+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
4747
with:
4848
go-version: ${{ env.GO_VERSION }}
4949
cache: false # The golangci-lint action does its own caching.
@@ -52,18 +52,18 @@ jobs:
5252
run: go mod tidy && git diff --exit-code go.mod go.sum
5353

5454
- name: Lint
55-
uses: golangci/golangci-lint-action@v8
55+
uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9
5656
with:
5757
version: ${{ env.GOLANGCI_VERSION }}
5858

5959
unit-test:
6060
runs-on: ubuntu-24.04
6161
steps:
6262
- name: Checkout
63-
uses: actions/checkout@v5
63+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
6464

6565
- name: Setup Go
66-
uses: actions/setup-go@v6
66+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
6767
with:
6868
go-version: ${{ env.GO_VERSION }}
6969

@@ -84,24 +84,24 @@ jobs:
8484
- arm64
8585
steps:
8686
- name: Setup QEMU
87-
uses: docker/setup-qemu-action@v3
87+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
8888
with:
8989
platforms: all
9090

9191
- name: Setup Docker Buildx
92-
uses: docker/setup-buildx-action@v3
92+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
9393
with:
9494
version: ${{ env.DOCKER_BUILDX_VERSION }}
9595
install: true
9696

9797
- name: Checkout
98-
uses: actions/checkout@v5
98+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
9999

100100
# We ask Docker to use GitHub Action's native caching support to speed up
101101
# the build, per https://docs.docker.com/build/cache/backends/gha/.
102102
- name: Build Runtime
103103
id: image
104-
uses: docker/build-push-action@v6
104+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
105105
with:
106106
context: .
107107
platforms: linux/${{ matrix.arch }}
@@ -119,7 +119,7 @@ jobs:
119119
run: ./crossplane xpkg build --package-file=${{ matrix.arch }}.xpkg --package-root=package/ --embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar
120120

121121
- name: Upload Single-Platform Package
122-
uses: actions/upload-artifact@v5
122+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
123123
with:
124124
name: package-${{ matrix.arch }}
125125
path: "*.xpkg"
@@ -135,10 +135,10 @@ jobs:
135135
- build
136136
steps:
137137
- name: Checkout
138-
uses: actions/checkout@v5
138+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
139139

140140
- name: Download Single-Platform Packages
141-
uses: actions/download-artifact@v6
141+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
142142
with:
143143
path: .
144144
merge-multiple: true
@@ -148,7 +148,7 @@ jobs:
148148
run: "curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
149149

150150
- name: Login to Upbound
151-
uses: docker/login-action@v3
151+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
152152
if: env.XPKG_ACCESS_ID != ''
153153
with:
154154
registry: xpkg.upbound.io

‎.github/workflows/tag.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
19+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
2020

2121
- name: Create Tag
2222
uses: negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320 # v1

0 commit comments

Comments
 (0)