Skip to content

Commit 5f55f35

Browse files
committed
Upgrade Go version
1 parent 5763d2d commit 5f55f35

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-go@v2
1313
with:
14-
go-version: "1.22"
14+
go-version-file: 'go.mod'
15+
cache: true
1516
- name: lint
1617
run: |
1718
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-go@v2
1313
with:
14-
go-version: "1.22"
14+
go-version-file: 'go.mod'
15+
cache: true
1516
- name: Run testing
1617
run: go test -race -v ./...

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.1 as build-env
1+
FROM golang:1.23.5 AS build-env
22

33
ADD . /app
44
WORKDIR /app
@@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
77

88
# -----------------------------------------------------------------------------
99

10-
FROM alpine:3.19.0
10+
FROM alpine:3.21.2
1111

1212
RUN addgroup -S -g 10000 api \
1313
&& adduser -S -D -u 10000 -s /sbin/nologin -G api api

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/appclacks/cabourotte
22

3-
go 1.22.7
4-
5-
toolchain go1.22.10
3+
go 1.23.5
64

75
require (
86
github.com/cespare/xxhash/v2 v2.3.0 // indirect

0 commit comments

Comments
 (0)