File tree Expand file tree Collapse file tree 8 files changed +16
-16
lines changed Expand file tree Collapse file tree 8 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 16
16
- name : Check out code into the Go module directory
17
17
uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
18
18
- name : Set up Go 1.x
19
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
19
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
20
20
with :
21
21
go-version-file : go.mod
22
22
- name : build
Original file line number Diff line number Diff line change 41
41
uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
42
42
43
43
- name : Set up Go 1.x
44
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
44
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
45
45
with :
46
46
go-version-file : go.mod
47
47
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ jobs:
27
27
uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
28
28
29
29
- name : Set up QEMU
30
- uses : docker/setup-qemu-action@fcd3152d8ad392d0e9c14d3f0de40f0a88b8ca0e
30
+ uses : docker/setup-qemu-action@737ba1e397ec2caff0d098f75e1136f9a926dc0a
31
31
32
32
- name : Set up Docker Buildx
33
- uses : docker/setup-buildx-action@e600775e527acba2317260cadb64b7e19efd5362
33
+ uses : docker/setup-buildx-action@3f1544eb9eff0b4d4d279b33f704a06fcf8d0e43
34
34
35
35
- name : vuls/vuls image meta
36
36
id : oss-meta
55
55
password : ${{ secrets.DOCKERHUB_TOKEN }}
56
56
57
57
- name : OSS image build and push
58
- uses : docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1
58
+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
59
59
with :
60
60
context : .
61
61
file : ./Dockerfile
68
68
platforms : linux/amd64,linux/arm64
69
69
70
70
- name : FutureVuls image build and push
71
- uses : docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1
71
+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
72
72
with :
73
73
context : .
74
74
file : ./contrib/Dockerfile
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
16
16
- name : Check out code into the Go module directory
17
17
uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
18
18
- name : Set up Go 1.x
19
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
19
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
20
20
with :
21
21
go-version-file : go.mod
22
22
- name : golangci-lint
23
- uses : golangci/golangci-lint-action@c2427fec7902bf2304ba21394dce2ed2f2a6cb2c
23
+ uses : golangci/golangci-lint-action@481777f62fe06de6923fd3a69efd3ba597fe628a
24
24
with :
25
- version : v2.0.2
25
+ version : v2.1.6
Original file line number Diff line number Diff line change 15
15
id-token : write # For cosign
16
16
steps :
17
17
- name : Cosign install
18
- uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a
18
+ uses : sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb
19
19
- name : Maximize build space
20
20
uses : easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c
21
21
with :
30
30
- name : Unshallow
31
31
run : git fetch --prune --unshallow
32
32
- name : Set up Go
33
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
33
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
34
34
with :
35
35
go-version-file : go.mod
36
36
- name : Run GoReleaser
Original file line number Diff line number Diff line change 39
39
persist-credentials : false
40
40
41
41
- name : " Run analysis"
42
- uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
42
+ uses : ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
43
43
with :
44
44
results_file : results.sarif
45
45
results_format : sarif
64
64
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
65
65
# format to the repository Actions tab.
66
66
- name : " Upload artifact"
67
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
67
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
68
68
with :
69
69
name : SARIF file
70
70
path : results.sarif
Original file line number Diff line number Diff line change 12
12
- name : Check out code into the Go module directory
13
13
uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
14
14
- name : Set up Go 1.x
15
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b
15
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
16
16
with :
17
17
go-version-file : go.mod
18
18
- name : Test
Original file line number Diff line number Diff line change 1
- FROM golang:alpine@sha256:7772cb5322baa875edd74705556d08f0eeca7b9c4b5367754ce3f2f00041ccee as builder
1
+ FROM golang:alpine@sha256:68932fa6d4d4059845c8f40ad7e654e626f3ebd3706eef7846f319293ab5cb7a as builder
2
2
3
3
RUN apk add --no-cache \
4
4
git \
@@ -10,7 +10,7 @@ ENV REPOSITORY github.com/future-architect/vuls
10
10
COPY . $GOPATH/src/$REPOSITORY
11
11
RUN cd $GOPATH/src/$REPOSITORY && make install
12
12
13
- FROM alpine:3.21 @sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
13
+ FROM alpine:3.22 @sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be023728e11715
14
14
15
15
ENV LOGDIR /var/log/vuls
16
16
ENV WORKDIR /vuls
You can’t perform that action at this time.
0 commit comments