We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42a45fe + b5a4b73 commit a045cb4Copy full SHA for a045cb4
.github/workflows/go.yaml
@@ -2,6 +2,9 @@ name: Go
2
3
on: push
4
5
+permissions:
6
+ contents: read
7
+
8
jobs:
9
10
build:
@@ -14,10 +17,15 @@ jobs:
14
17
- "1.17"
15
18
- "1.18"
16
19
steps:
- - uses: actions/checkout@v3
20
+ - name: Harden the runner (Audit all outbound calls)
21
+ uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
22
+ with:
23
+ egress-policy: audit
24
25
+ - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
26
27
- name: Set up Go
- uses: actions/setup-go@v3
28
+ uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
29
with:
30
go-version: ${{ matrix.go }}
31
0 commit comments