Skip to content

Commit 5ad51ee

Browse files
authored
Merge pull request #417 from thaJeztah/pin_actions
ci: pin actions by sha
2 parents 955f6c5 + 29038b4 commit 5ad51ee

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
steps:
4040
-
4141
name: Checkout
42-
uses: actions/checkout@v6
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4343
-
4444
name: Set up Docker Buildx
45-
uses: docker/setup-buildx-action@v4
45+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
4646
-
4747
name: Run
4848
run: |
@@ -64,10 +64,10 @@ jobs:
6464
steps:
6565
-
6666
name: Checkout
67-
uses: actions/checkout@v6
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6868
-
6969
name: Set up Go
70-
uses: actions/setup-go@v6
70+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
7171
with:
7272
go-version: ${{ env.GO_VERSION }}
7373
-
@@ -84,7 +84,7 @@ jobs:
8484
-
8585
name: GPG conf
8686
if: ${{ !startsWith(matrix.os, 'windows-') }}
87-
uses: actions/github-script@v8
87+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
8888
id: gpg
8989
with:
9090
script: |
@@ -101,7 +101,7 @@ jobs:
101101
-
102102
name: Import GPG key
103103
if: ${{ !startsWith(matrix.os, 'windows-') }}
104-
uses: crazy-max/ghaction-import-gpg@v7
104+
uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0
105105
with:
106106
gpg_private_key: ${{ steps.gpg.outputs.key }}
107107
passphrase: ${{ steps.gpg.outputs.passphrase }}
@@ -119,7 +119,7 @@ jobs:
119119
shell: bash
120120
-
121121
name: Upload coverage
122-
uses: codecov/codecov-action@v5
122+
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
123123
with:
124124
files: ${{ env.DESTDIR }}/coverage.txt
125125
token: ${{ secrets.CODECOV_TOKEN }}
@@ -130,18 +130,18 @@ jobs:
130130
steps:
131131
-
132132
name: Set up Docker Buildx
133-
uses: docker/setup-buildx-action@v4
133+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
134134
-
135135
name: Test
136-
uses: docker/bake-action@v6
136+
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
137137
with:
138138
targets: test
139139
set: |
140140
*.cache-from=type=gha,scope=test
141141
*.cache-to=type=gha,scope=test,mode=max
142142
-
143143
name: Upload coverage
144-
uses: codecov/codecov-action@v5
144+
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
145145
with:
146146
files: ${{ env.DESTDIR }}//coverage.txt
147147
token: ${{ secrets.CODECOV_TOKEN }}
@@ -155,15 +155,15 @@ jobs:
155155
steps:
156156
-
157157
name: Checkout
158-
uses: actions/checkout@v6
158+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
159159
with:
160160
fetch-depth: 0
161161
-
162162
name: Set up QEMU
163-
uses: docker/setup-qemu-action@v4
163+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
164164
-
165165
name: Set up Docker Buildx
166-
uses: docker/setup-buildx-action@v4
166+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
167167
-
168168
name: Build
169169
run: |
@@ -181,7 +181,7 @@ jobs:
181181
find ${{ env.DESTDIR }} -type f -exec file -e ascii -e text -- {} +
182182
-
183183
name: Upload artifacts
184-
uses: actions/upload-artifact@v7
184+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
185185
with:
186186
name: docker-credential-helpers
187187
path: ${{ env.DESTDIR }}/*
@@ -202,7 +202,7 @@ jobs:
202202
steps:
203203
-
204204
name: Checkout
205-
uses: actions/checkout@v6
205+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
206206
with:
207207
fetch-depth: 0
208208
-

0 commit comments

Comments
 (0)