File tree Expand file tree Collapse file tree 5 files changed +38
-7
lines changed Expand file tree Collapse file tree 5 files changed +38
-7
lines changed Original file line number Diff line number Diff line change 75
75
76
76
- name : package cleanup
77
77
uses : bots-house/ghcr-delete-image-action@v1.1.0
78
+ continue-on-error : true # action doesn't fail when this step fails
78
79
if : ${{ github.actor != 'dependabot' }}
79
80
with :
80
81
owner : nuts-foundation
85
86
86
87
- name : package cleanup dependabot
87
88
uses : bots-house/ghcr-delete-image-action@v1.1.0
89
+ continue-on-error : true # action doesn't fail when this step fails
88
90
if : ${{ github.actor == 'dependabot' }}
89
91
with :
90
92
owner : nuts-foundation
Original file line number Diff line number Diff line change
1
+ # "Govulncheck reports known vulnerabilities that affect Go code.
2
+ # It uses static analysis of source code or a binary's symbol table to narrow down reports to only those that could affect the application."
3
+ #
4
+ # For more information see https://go.dev/blog/vuln and https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
5
+ name : ' govulncheck'
6
+
7
+ on :
8
+ push :
9
+ branches :
10
+ - ' master'
11
+ - ' V*'
12
+ pull_request :
13
+ # The branches below must be a subset of the branches above
14
+ branches :
15
+ - ' master'
16
+ - ' V*'
17
+
18
+ jobs :
19
+ govulncheck_job :
20
+ runs-on : ubuntu-latest
21
+ name : Run govulncheck
22
+ steps :
23
+ - id : govulncheck
24
+ uses : golang/govulncheck-action@v1
25
+ with :
26
+ go-version-input : ' stable'
27
+ go-package : ./...
Original file line number Diff line number Diff line change 1
1
# golang alpine
2
- FROM golang:1.21.5 -alpine as builder
2
+ FROM golang:1.23.4 -alpine as builder
3
3
4
4
ARG TARGETARCH
5
5
ARG TARGETOS
@@ -25,12 +25,11 @@ COPY . .
25
25
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags="-w -s -X 'github.com/nuts-foundation/nuts-node/core.GitCommit=${GIT_COMMIT}' -X 'github.com/nuts-foundation/nuts-node/core.GitBranch=${GIT_BRANCH}' -X 'github.com/nuts-foundation/nuts-node/core.GitVersion=${GIT_VERSION}'" -o /opt/nuts/nuts
26
26
27
27
# alpine
28
- FROM alpine:3.18 .2
28
+ FROM alpine:3.21 .2
29
29
RUN apk update \
30
30
&& apk add --no-cache \
31
31
tzdata \
32
- curl \
33
- && update-ca-certificates
32
+ curl
34
33
COPY --from=builder /opt/nuts/nuts /usr/bin/nuts
35
34
36
35
HEALTHCHECK --start-period=30s --timeout=5s --interval=10s \
Original file line number Diff line number Diff line change 1
1
module github.com/nuts-foundation/nuts-node
2
2
3
- go 1.21
3
+ // This is the minimal version, the actual go version is determined by the images in the Dockerfile
4
+ // This version is used in automated tests such as the 'Scheduled govulncheck' action
5
+ go 1.23.4
4
6
5
7
require (
6
8
github.com/alicebob/miniredis/v2 v2.33.0
@@ -98,7 +100,7 @@ require (
98
100
github.com/gobwas/pool v0.2.1 // indirect
99
101
github.com/gobwas/ws v1.3.2 // indirect
100
102
github.com/goccy/go-json v0.10.2 // indirect
101
- github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
103
+ github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
102
104
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
103
105
github.com/golang-sql/sqlexp v0.1.0 // indirect
104
106
github.com/golang/snappy v0.0.4 // indirect
Original file line number Diff line number Diff line change @@ -240,8 +240,9 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69
240
240
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY =
241
241
github.com/golang-jwt/jwt v3.2.2+incompatible /go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I =
242
242
github.com/golang-jwt/jwt/v4 v4.4.3 /go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0 =
243
- github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg =
244
243
github.com/golang-jwt/jwt/v4 v4.5.0 /go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0 =
244
+ github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo =
245
+ github.com/golang-jwt/jwt/v4 v4.5.1 /go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0 =
245
246
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE =
246
247
github.com/golang-jwt/jwt/v5 v5.0.0 /go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk =
247
248
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA =
You can’t perform that action at this time.
0 commit comments