10
10
go_version : 1.21
11
11
GO111MODULE : on
12
12
13
+ permissions :
14
+ contents : read
15
+
13
16
jobs :
14
17
Check-License :
15
18
runs-on : ubuntu-latest
16
19
steps :
17
- - uses : actions/checkout@v3
20
+ - name : Harden the runner (Audit all outbound calls)
21
+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
22
+ with :
23
+ egress-policy : audit
24
+
25
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
18
26
with :
19
27
version : latest
20
- - uses : actions/setup-go@v3
28
+ - uses : actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
21
29
with :
22
30
go-version : ${{ env.go_version }}
23
31
- run : make go-deps
@@ -26,10 +34,15 @@ jobs:
26
34
Check-Spelling :
27
35
runs-on : ubuntu-latest
28
36
steps :
29
- - uses : actions/checkout@v3
37
+ - name : Harden the runner (Audit all outbound calls)
38
+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
39
+ with :
40
+ egress-policy : audit
41
+
42
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
30
43
with :
31
44
version : latest
32
- - uses : actions/setup-go@v3
45
+ - uses : actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
33
46
with :
34
47
go-version : ${{ env.go_version }}
35
48
- run : make go-deps
38
51
Check-Gen :
39
52
runs-on : ubuntu-latest
40
53
steps :
41
- - uses : actions/checkout@v3
54
+ - name : Harden the runner (Audit all outbound calls)
55
+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
56
+ with :
57
+ egress-policy : audit
58
+
59
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
42
60
with :
43
61
version : latest
44
62
- run : make node-deps
47
65
Check-Valid :
48
66
runs-on : ubuntu-latest
49
67
steps :
50
- - uses : actions/checkout@v3
68
+ - name : Harden the runner (Audit all outbound calls)
69
+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
70
+ with :
71
+ egress-policy : audit
72
+
73
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
51
74
with :
52
75
version : latest
53
76
- run : make node-deps
56
79
Salus :
57
80
runs-on : ubuntu-latest
58
81
steps :
59
- - uses : actions/checkout@v3
82
+ - name : Harden the runner (Audit all outbound calls)
83
+ uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
84
+ with :
85
+ egress-policy : audit
86
+
87
+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
60
88
with :
61
89
version : latest
62
90
- run : make salus
0 commit comments