@@ -20,11 +20,11 @@ jobs:
2020 name : codespell
2121 runs-on : ubuntu-latest
2222 steps :
23- - uses : actions/checkout@v4
23+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424 with :
2525 fetch-depth : 1
2626 - name : codespell
27- uses : codespell-project/actions-codespell@master
27+ uses : codespell-project/actions-codespell@fad9339798e1ee3fe979ae0a022c931786a408b8 # master
2828 with :
2929 skip : .git,*.sum,vendor
3030 ignore_words_list : AfterAll,NotIn,notin,immediatedly
@@ -34,22 +34,32 @@ jobs:
3434 name : misspell
3535 runs-on : ubuntu-latest
3636 steps :
37- - uses : actions/checkout@v4
37+ - name : Harden the runner (Audit all outbound calls)
38+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
39+ with :
40+ egress-policy : audit
41+
42+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3843 with :
3944 fetch-depth : 1
4045 - name : misspell
41- uses : reviewdog/action-misspell@v1
46+ uses : reviewdog/action-misspell@9daa94af4357dddb6fd3775de806bc0a8e98d3e4 # v1.26.3
4247 with :
4348 exclude : ./vendor/*
4449
4550 golangci :
4651 name : golangci-lint
4752 runs-on : ubuntu-latest
4853 steps :
49- - uses : actions/checkout@v4
54+ - name : Harden the runner (Audit all outbound calls)
55+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
56+ with :
57+ egress-policy : audit
58+
59+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5060 with :
5161 fetch-depth : 1
52- - uses : actions/setup-go@v5
62+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
5363 with :
5464 go-version-file : go.mod
5565 - name : run golangci-lint
@@ -59,21 +69,31 @@ jobs:
5969 name : govulncheck
6070 runs-on : ubuntu-latest
6171 steps :
62- - uses : actions/checkout@v4
72+ - name : Harden the runner (Audit all outbound calls)
73+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
74+ with :
75+ egress-policy : audit
76+
77+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6378 with :
6479 fetch-depth : 1
65- - uses : actions/setup-go@v5
80+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
6681 with :
6782 go-version-file : go.mod
6883 check-latest : true
6984 - name : govulncheck
70- uses : golang/govulncheck-action@v1
85+ uses : golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
7186
7287 markdownlint :
7388 name : markdownlint
7489 runs-on : ubuntu-latest
7590 steps :
76- - uses : actions/checkout@v4
91+ - name : Harden the runner (Audit all outbound calls)
92+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
93+ with :
94+ egress-policy : audit
95+
96+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7797 with :
7898 fetch-depth : 1
7999 - name : run markdownlint
@@ -83,9 +103,14 @@ jobs:
83103 name : Shellcheck
84104 runs-on : ubuntu-latest
85105 steps :
86- - uses : actions/checkout@v4
106+ - name : Harden the runner (Audit all outbound calls)
107+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
108+ with :
109+ egress-policy : audit
110+
111+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
87112 - name : Run ShellCheck
88- uses : ludeeus/action-shellcheck@master
113+ uses : ludeeus/action-shellcheck@00b27aa7cb85167568cb48a3838b75f4265f2bca # master
89114 with :
90115 severity : warning
91116 check_together : ' yes'
@@ -97,10 +122,15 @@ jobs:
97122 name : modcheck
98123 runs-on : ubuntu-latest
99124 steps :
100- - uses : actions/checkout@v4
125+ - name : Harden the runner (Audit all outbound calls)
126+ uses : step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
127+ with :
128+ egress-policy : audit
129+
130+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101131 with :
102132 fetch-depth : 1
103- - uses : actions/setup-go@v5
133+ - uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
104134 with :
105135 go-version-file : go.mod
106136 - name : run mod check
0 commit comments