Skip to content

Commit 1bf91d2

Browse files
committed
Updates Go
1 parent 0a64229 commit 1bf91d2

File tree

5 files changed

+12
-17
lines changed

5 files changed

+12
-17
lines changed

.github/workflows/gofmt.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
format:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: actions/setup-go@v3
7+
- uses: actions/checkout@v4
8+
- uses: WillAbides/setup-go[email protected]
99
with:
10-
go-version: "1.19"
10+
go-version: "1.24"
1111
- run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi

.github/workflows/golint.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ jobs:
44
lint:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
8+
- uses: WillAbides/[email protected]
89
with:
9-
fetch-depth: 1
10-
- uses: WillAbides/[email protected]
11-
with:
12-
go-version: "1.19.x"
13-
- uses: dominikh/[email protected]
14-
with:
15-
version: "2023.1.6"
10+
go-version: "1.24.x"
11+
- uses: dominikh/[email protected]

.github/workflows/tests.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ jobs:
66
fail-fast: false
77
matrix:
88
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
9-
go: ["1.18.x", "1.19.x"]
9+
go: ["1.23.x", "1.24.x"]
1010
runs-on: ${{ matrix.os }}
11-
1211
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-go@v3
12+
- uses: actions/checkout@v4
13+
- uses: WillAbides/setup-go[email protected]
1514
with:
1615
go-version: ${{ matrix.go }}
1716
- run: "go test --race ."

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19-bullseye as build
1+
FROM golang:1.24-bullseye as build
22
WORKDIR /chunk
33
COPY go.* .
44
RUN go mod download

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cuducos/chunk
22

3-
go 1.19
3+
go 1.23
44

55
require (
66
github.com/avast/retry-go/v4 v4.6.0

0 commit comments

Comments
 (0)