File tree 7 files changed +16
-16
lines changed
7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ jobs:
22
22
runs-on : ubuntu-22.04
23
23
steps :
24
24
- name : Install Go
25
- uses : actions/setup-go@v4
25
+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
26
26
with :
27
27
go-version : ${{ matrix.go-version }}
28
28
- name : Checkout code
29
- uses : actions/checkout@v3
29
+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
30
30
- id : cache-paths
31
31
run : |
32
32
echo "::set-output name=cache::$(go env GOCACHE)"
33
33
echo "::set-output name=mod-cache::$(go env GOMODCACHE)"
34
34
- name : Cache go modules
35
- uses : actions/cache@v3
35
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
36
36
with :
37
37
path : |
38
38
${{ steps.cache-paths.outputs.cache }}
Original file line number Diff line number Diff line change 12
12
pull-requests : write # for actions/labeler to add labels to PRs
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/labeler@v4
15
+ - uses : actions/labeler@9fcb2c2f5584144ca754f8bfe8c6f81e77753375 # v4.1.0
16
16
with :
17
17
repo-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Setup go
19
- uses : actions/setup-go@v4
19
+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
20
20
with :
21
21
go-version : 1.17
22
22
- name : Checkout repository
23
- uses : actions/checkout@v3
23
+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
24
24
- name : Setup golangci-lint
25
- uses : golangci/golangci-lint-action@v3
25
+ uses : golangci/golangci-lint-action@5f1fec7010f6ae3b84ea4f7b2129beb8639b564f # v3.5.0
26
26
with :
27
27
args : --verbose
28
28
version : latest
Original file line number Diff line number Diff line change 10
10
release :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
14
14
- name : Release
15
15
run : make release
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
17
17
18
- -
uses :
advanced-security/[email protected]
18
+ - uses : advanced-security/sbom-generator-action@375dee8e6144d9fd0ec1f5667b4f6fb4faacefed # v0.0.1
19
19
id : sbom
20
20
env :
21
21
GITHUB_TOKEN : ${{ github.token }}
22
-
22
+ - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
23
23
with :
24
24
path : ${{steps.sbom.outputs.fileName }}
25
25
name : " SBOM"
Original file line number Diff line number Diff line change 8
8
name : Shellcheck
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v3
11
+ - uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
12
12
- name : Run ShellCheck
13
- uses : ludeeus/action-shellcheck@master
13
+ uses : ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ jobs:
23
23
runs-on : ${{ matrix.os }}
24
24
steps :
25
25
- name : Install Go
26
- uses : actions/setup-go@v4
26
+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
27
27
with :
28
28
go-version : ${{ matrix.go-version }}
29
29
- name : Checkout code
30
- uses : actions/checkout@v3
30
+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
31
31
- id : go-env
32
32
run : |
33
33
echo "::set-output name=cache::$(go env GOCACHE)"
34
34
echo "::set-output name=mod-cache::$(go env GOMODCACHE)"
35
35
- name : Cache go modules
36
- uses : actions/cache@v3
36
+ uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
37
37
with :
38
38
path : |
39
39
${{ steps.go-env.outputs.cache }}
You can’t perform that action at this time.
0 commit comments