@@ -23,11 +23,11 @@ jobs:
23
23
runs-on : ubuntu-24.04
24
24
timeout-minutes : 30
25
25
steps :
26
- - uses : actions/checkout@v4
26
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
27
27
with :
28
28
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
29
29
fetch-depth : 0
30
- - uses : actions/setup-go@v5
30
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
31
31
with :
32
32
go-version : 1.23.x
33
33
- name : Install protoc
37
37
- name : Verify generated files
38
38
run : make install-tools generate check-generated
39
39
- name : Run golangci-lint
40
-
40
+ uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
41
41
with :
42
42
version : v1.60.1
43
43
args : --verbose --timeout=10m
@@ -48,15 +48,15 @@ jobs:
48
48
sudo apt-get update
49
49
sudo apt-get install -y shellcheck
50
50
- name : Run file and directory name linter
51
-
51
+ uses : ls-lint/action@1887e6c0e7f2dfa81a2d67591f0eb7782720026f # v2.2.3
52
52
- name : Run shellcheck
53
53
run : find . -name '*.sh' | xargs shellcheck
54
54
- name : Install shfmt
55
55
run :
go install mvdan.cc/sh/v3/cmd/[email protected]
56
56
- name : Run shfmt
57
57
run : find . -name '*.sh' | xargs shfmt -s -d
58
58
- name : Check hyperlinks
59
- uses : docker://dkhamsing/awesome_bot:latest
59
+ uses : docker://dkhamsing/awesome_bot:latest@sha256:a8adaeb3b3bd5745304743e4d8a6d512127646e420544a6d22d9f58a07f35884
60
60
with :
61
61
args : /github/workspace/README.md --allow-dupe --allow-redirect --request-delay 1 --white-list https://img.shields.io,http://127.0.0.1:8080,https://github.com/lima-vm/lima/releases/download,https://xbarapp.com,https://api.github.com
62
62
- name : Install go-licenses
@@ -79,10 +79,10 @@ jobs:
79
79
run : |
80
80
sudo apt-get update
81
81
sudo apt-get install -y --no-install-recommends qemu-utils
82
- - uses : actions/checkout@v4
82
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
83
83
with :
84
84
fetch-depth : 1
85
- - uses : actions/setup-go@v5
85
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
86
86
with :
87
87
go-version : ${{ matrix.go-version }}
88
88
- name : Unit tests
@@ -127,10 +127,10 @@ jobs:
127
127
run : |
128
128
git config --global core.autocrlf false
129
129
git config --global core.eol lf
130
- - uses : actions/checkout@v4
130
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
131
131
with :
132
132
fetch-depth : 1
133
- - uses : actions/setup-go@v5
133
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
134
134
with :
135
135
go-version : 1.23.x
136
136
- name : Unit tests
@@ -157,11 +157,11 @@ jobs:
157
157
runs-on : macos-12
158
158
timeout-minutes : 120
159
159
steps :
160
- - uses : actions/checkout@v4
160
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
161
161
with :
162
162
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
163
163
fetch-depth : 0
164
- - uses : actions/setup-go@v5
164
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
165
165
with :
166
166
go-version : 1.23.x
167
167
- name : Unit tests
@@ -193,7 +193,7 @@ jobs:
193
193
- name : " Show cache"
194
194
run : ./hack/debug-cache.sh
195
195
- name : " Test default.yaml"
196
- uses : nick-fields/retry@v3
196
+ uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
197
197
with :
198
198
timeout_minutes : 30
199
199
retry_on : error
@@ -230,10 +230,10 @@ jobs:
230
230
- ../hack/test-templates/alpine-iso-9p-writable.yaml # Covers alpine-iso.yaml
231
231
- ../hack/test-templates/test-misc.yaml
232
232
steps :
233
- - uses : actions/checkout@v4
233
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
234
234
with :
235
235
fetch-depth : 1
236
- - uses : actions/setup-go@v5
236
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
237
237
with :
238
238
go-version : 1.23.x
239
239
- name : Make
@@ -267,7 +267,7 @@ jobs:
267
267
run : echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --mount-type=reverse-sshfs" >>$GITHUB_ENV
268
268
if : matrix.template == 'archlinux.yaml'
269
269
- name : " Test"
270
- uses : nick-fields/retry@v3
270
+ uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
271
271
with :
272
272
timeout_minutes : 30
273
273
retry_on : error
@@ -288,15 +288,15 @@ jobs:
288
288
matrix :
289
289
colima-version : ["v0.6.5"]
290
290
steps :
291
- - uses : actions/checkout@v4
291
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
292
292
with :
293
293
# fetch-depth is set to 0 to let `limactl --version` print semver-ish version
294
294
fetch-depth : 0
295
295
ref : ${{ github.event.pull_request.head.sha }}
296
- - uses : actions/setup-go@v5
296
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
297
297
with :
298
298
go-version : 1.23.x
299
- - uses : actions/cache@v4
299
+ - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
300
300
with :
301
301
path : ~/.cache/lima/download
302
302
key : ${{ runner.os }}-colima-${{ matrix.colima-version }}
@@ -321,7 +321,7 @@ jobs:
321
321
- name : " Show cache"
322
322
run : ./hack/debug-cache.sh
323
323
- name : " Test"
324
- uses : nick-fields/retry@v3
324
+ uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
325
325
with :
326
326
timeout_minutes : 30
327
327
retry_on : error
@@ -335,10 +335,10 @@ jobs:
335
335
runs-on : macos-12
336
336
timeout-minutes : 120
337
337
steps :
338
- - uses : actions/checkout@v4
338
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
339
339
with :
340
340
fetch-depth : 1
341
- - uses : actions/setup-go@v5
341
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
342
342
with :
343
343
go-version : 1.23.x
344
344
- name : Make
@@ -371,7 +371,7 @@ jobs:
371
371
# Set -count=1 to disable cache
372
372
run : go test -v -count=1 ./pkg/networks/...
373
373
- name : Test socket_vmnet
374
- uses : nick-fields/retry@v3
374
+ uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
375
375
with :
376
376
timeout_minutes : 30
377
377
retry_on : error
@@ -388,18 +388,18 @@ jobs:
388
388
matrix :
389
389
oldver : ["v0.15.1"]
390
390
steps :
391
- - uses : actions/checkout@v4
391
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
392
392
with :
393
393
fetch-depth : 0
394
394
- name : Fetch homebrew-core commit messages
395
- uses : actions/checkout@v4
395
+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
396
396
with :
397
397
# needed by ./hack/brew-install-version.sh
398
398
repository : homebrew/homebrew-core
399
399
path : homebrew-core
400
400
fetch-depth : 0
401
401
filter : tree:0
402
- - uses : actions/setup-go@v5
402
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
403
403
with :
404
404
go-version : 1.23.x
405
405
- name : Cache image used by ${{ matrix.oldver }}/examples/ubuntu-lts.yaml
@@ -413,7 +413,7 @@ jobs:
413
413
# We revert back to 8.2.1, which seems to work fine
414
414
./hack/brew-install-version.sh qemu 8.2.1
415
415
- name : Test
416
- uses : nick-fields/retry@v3
416
+ uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
417
417
with :
418
418
timeout_minutes : 30
419
419
retry_on : error
@@ -434,10 +434,10 @@ jobs:
434
434
- default.yaml
435
435
- fedora.yaml
436
436
steps :
437
- - uses : actions/checkout@v4
437
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
438
438
with :
439
439
fetch-depth : 1
440
- - uses : actions/setup-go@v5
440
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
441
441
with :
442
442
go-version : 1.23.x
443
443
- name : Make
0 commit comments