File tree 11 files changed +21
-21
lines changed
11 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ inputs:
9
9
runs :
10
10
using : composite
11
11
steps :
12
- - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
12
+ - uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
13
13
with :
14
14
path : ~/go/pkg/mod
15
15
key : ${{ runner.os }}-go-pkg-mod-${{ hashFiles('**/go.sum') }}-${{ hashFiles('Makefile') }}
16
- - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
16
+ - uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
17
17
if : ${{ inputs.build-cache-key }}
18
18
with :
19
19
path : ~/.cache/go-build
Original file line number Diff line number Diff line change 17
17
- name : Checkout
18
18
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
19
- name : Ensure SHA pinned actions
20
- uses : zgosalvez/github-actions-ensure-sha-pinned-actions@6eb1abde32fed00453b0d03497f4ba4fecba146d # v3.0.21
20
+ uses : zgosalvez/github-actions-ensure-sha-pinned-actions@25ed13d0628a1601b4b44048e63cc4328ed03633 # v3.0.22
21
21
with :
22
22
# slsa-github-generator requires using a semver tag for reusable workflows.
23
23
# See: https://github.com/slsa-framework/slsa-github-generator#referencing-slsa-builders-and-generators
Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ jobs:
52
52
with :
53
53
go-version-file : ' go.mod'
54
54
- name : Run Gosec Security Scanner
55
- uses : securego/gosec@e0cca6fe95306b7e7790d6f1bf6a7bec6d622459 # v2.22.0
55
+ uses : securego/gosec@43fee884f668c23601e0bec7a8c095fba226f889 # v2.22.1
56
56
with :
57
57
args : ' -no-fail -fmt sarif -out gosec.sarif ./...'
58
58
- name : Upload SARIF file
59
- uses : github/codeql-action/upload-sarif@0a35e8f6866a39b001e5f7ad1d0daf9836786896
59
+ uses : github/codeql-action/upload-sarif@80f993039571a6de66594ecaa432875a6942e8e0
60
60
with :
61
61
sarif_file : gosec.sarif
62
62
unit_tests :
77
77
value : ${{ secrets.CODECOV_TOKEN }}
78
78
- name : Upload Report to Codecov
79
79
if : ${{ steps.checksecret.outputs.result == 'true' }}
80
- uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
80
+ uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
81
81
with :
82
82
token : ${{ secrets.CODECOV_TOKEN }}
83
83
slug : projectcapsule/capsule
Original file line number Diff line number Diff line change 40
40
# See: https://github.com/aquasecurity/trivy-action/issues/389#issuecomment-2385416577
41
41
TRIVY_DB_REPOSITORY : ' public.ecr.aws/aquasecurity/trivy-db:2'
42
42
- name : Upload Trivy scan results to GitHub Security tab
43
- uses : github/codeql-action/upload-sarif@0a35e8f6866a39b001e5f7ad1d0daf9836786896
43
+ uses : github/codeql-action/upload-sarif@80f993039571a6de66594ecaa432875a6942e8e0
44
44
with :
45
45
sarif_file : ' trivy-results.sarif'
Original file line number Diff line number Diff line change 36
36
output : ' trivy-results.sarif'
37
37
severity : ' CRITICAL,HIGH'
38
38
- name : Install Cosign
39
- uses : sigstore/cosign-installer@c56c2d3e59e4281cc41dea2217323ba5694b171e # v3.8.0
39
+ uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
40
40
- name : Publish Capsule
41
41
id : publish-capsule
42
42
uses : peak-scale/github-actions/make-ko-publish@a441cca016861c546ab7e065277e40ce41a3eb84 # v0.2.0
60
60
id-token : write # To sign the provenance.
61
61
packages : write # To upload assets to release.
62
62
actions : read # To read the workflow path.
63
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0 .0
63
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1 .0
64
64
with :
65
65
image : ghcr.io/${{ github.repository_owner }}/capsule
66
66
digest : " ${{ needs.publish-images.outputs.capsule-digest }}"
Original file line number Diff line number Diff line change 41
41
- name : build seccomp profile
42
42
run : make seccomp
43
43
- name : upload artifact
44
- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
44
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
45
45
with :
46
46
name : capsule-seccomp
47
47
path : capsule-seccomp.json
Original file line number Diff line number Diff line change 46
46
chart-digest : ${{ steps.helm_publish.outputs.digest }}
47
47
steps :
48
48
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49
- - uses : sigstore/cosign-installer@c56c2d3e59e4281cc41dea2217323ba5694b171e # v3.8.0
49
+ - uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
50
50
- name : " Extract Version"
51
51
id : extract_version
52
52
run : |
73
73
id-token : write # To sign the provenance.
74
74
packages : write # To upload assets to release.
75
75
actions : read # To read the workflow path.
76
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0 .0
76
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1 .0
77
77
with :
78
78
image : ghcr.io/${{ github.repository_owner }}/charts/capsule
79
79
digest : " ${{ needs.publish-helm-oci.outputs.chart-digest }}"
Original file line number Diff line number Diff line change 39
39
- name : build seccomp profile
40
40
run : make seccomp
41
41
- name : upload artifact
42
- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
42
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
43
43
with :
44
44
name : capsule-seccomp
45
45
path : capsule-seccomp.json
66
66
- uses : creekorful/goreportcard-action@1f35ced8cdac2cba28c9a2f2288a16aacfd507f9 # v1.0
67
67
- uses : anchore/sbom-action/download-syft@79202aee38a39bd2039be442e58d731b63baf740
68
68
- name : Install Cosign
69
- uses : sigstore/cosign-installer@c56c2d3e59e4281cc41dea2217323ba5694b171e # v3.8.0
69
+ uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
70
70
- name : download artifact
71
- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
71
+ uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
72
72
with :
73
73
name : capsule-seccomp
74
74
path : ./capsule-seccomp.json
Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ jobs:
24
24
with :
25
25
persist-credentials : false
26
26
- name : Run analysis
27
- uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
27
+ uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
28
28
with :
29
29
results_file : results.sarif
30
30
results_format : sarif
31
31
repo_token : ${{ secrets.SCORECARD_READ_TOKEN }}
32
32
publish_results : true
33
33
- name : Upload artifact
34
- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
34
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
35
35
with :
36
36
name : SARIF file
37
37
path : results.sarif
38
38
retention-days : 5
39
39
- name : Upload to code-scanning
40
- uses : github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
40
+ uses : github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
41
41
with :
42
42
sarif_file : results.sarif
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
3
- rev : v9.20 .0
3
+ rev : v9.21 .0
4
4
hooks :
5
5
- id : commitlint
6
6
stages : [commit-msg]
Original file line number Diff line number Diff line change 343
343
$(call go-install-tool,$(CT ) ,github.com/$(CT_LOOKUP ) /v3/ct@$(CT_VERSION ) )
344
344
345
345
KIND := $(LOCALBIN ) /kind
346
- KIND_VERSION := v0.26 .0
346
+ KIND_VERSION := v0.27 .0
347
347
KIND_LOOKUP := kubernetes-sigs/kind
348
348
kind :
349
349
@test -s $(KIND ) && $(KIND ) --version | grep -q $(KIND_VERSION ) || \
357
357
$(call go-install-tool,$(KO ) ,github.com/$(KO_LOOKUP ) @$(KO_VERSION ) )
358
358
359
359
GOLANGCI_LINT := $(LOCALBIN ) /golangci-lint
360
- GOLANGCI_LINT_VERSION := v1.64.4
360
+ GOLANGCI_LINT_VERSION := v1.64.5
361
361
GOLANGCI_LINT_LOOKUP := golangci/golangci-lint
362
362
golangci-lint : # # Download golangci-lint locally if necessary.
363
363
@test -s $(GOLANGCI_LINT ) && $(GOLANGCI_LINT ) -h | grep -q $(GOLANGCI_LINT_VERSION ) || \
You can’t perform that action at this time.
0 commit comments