File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Set up Go
2626 uses : actions/setup-go@v5
2727 with :
28- go-version : " 1.25"
28+ go-version : " 1.25.10 "
2929 cache : true
3030 - name : Verify go.mod tidy
3131 run : |
4040 - name : Set up Go
4141 uses : actions/setup-go@v5
4242 with :
43- go-version : " 1.25"
43+ go-version : " 1.25.10 "
4444 cache : true
4545 - name : Govulncheck
4646 run : go run golang.org/x/vuln/cmd/govulncheck@latest ./...
5252 - name : Set up Go
5353 uses : actions/setup-go@v5
5454 with :
55- go-version : " 1.25"
55+ go-version : " 1.25.10 "
5656 cache : true
5757 - name : golangci-lint
5858 uses : golangci/golangci-lint-action@v7
6767 - name : Set up Go
6868 uses : actions/setup-go@v5
6969 with :
70- go-version : " 1.25"
70+ go-version : " 1.25.10 "
7171 cache : true
7272
7373 - name : Build
8282 - name : Set up Go
8383 uses : actions/setup-go@v5
8484 with :
85- go-version : " 1.25"
85+ go-version : " 1.25.10 "
8686 cache : true
8787
8888 - name : Unit tests with coverage
Original file line number Diff line number Diff line change 11# Align with go.mod and CI.
2- FROM golang:1.25-bookworm AS builder
2+ FROM golang:1.25.10 -bookworm AS builder
33
44WORKDIR /app
55
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ golang-rest-api-template/
100100
101101### Prerequisites
102102
103- - Go 1.25+
103+ - Go 1.25.10 or newer (see ` go.mod ` ; aligns CI and Docker with ` govulncheck ` / patched stdlib)
104104- Docker
105105- Docker Compose
106106
Original file line number Diff line number Diff line change 11module golang-rest-api-template
22
3- go 1.25.0
3+ go 1.25.10
44
55require (
66 github.com/araujo88/gin-gonic-xss-middleware v0.0.0-20221014023455-d89f16de6a7e
@@ -79,7 +79,7 @@ require (
7979 go.uber.org/multierr v1.10.0 // indirect
8080 golang.org/x/arch v0.23.0 // indirect
8181 golang.org/x/mod v0.34.0 // indirect
82- golang.org/x/net v0.52 .0 // indirect
82+ golang.org/x/net v0.53 .0 // indirect
8383 golang.org/x/sys v0.43.0 // indirect
8484 golang.org/x/text v0.36.0 // indirect
8585 golang.org/x/tools v0.43.0 // indirect
Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
186186golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 /go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM =
187187golang.org/x/net v0.0.0-20220722155237-a158d28d115b /go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c =
188188golang.org/x/net v0.7.0 /go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs =
189- golang.org/x/net v0.52 .0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0 =
190- golang.org/x/net v0.52 .0 /go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw =
189+ golang.org/x/net v0.53 .0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA =
190+ golang.org/x/net v0.53 .0 /go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs =
191191golang.org/x/sync v0.0.0-20190423024810-112230192c58 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
192192golang.org/x/sync v0.0.0-20210220032951-036812b2e83c /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
193193golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ golang.org/x/crypto/sha3
409409golang.org/x/mod/internal/lazyregexp
410410golang.org/x/mod/module
411411golang.org/x/mod/semver
412- # golang.org/x/net v0.52 .0
412+ # golang.org/x/net v0.53 .0
413413## explicit; go 1.25.0
414414golang.org/x/net/bpf
415415golang.org/x/net/html
You can’t perform that action at this time.
0 commit comments