Skip to content

Commit 6dce422

Browse files
committed
feat: update Go version and dependencies
1 parent 4ea72ed commit 6dce422

File tree

4 files changed

+109
-92
lines changed

4 files changed

+109
-92
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout project
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
- name: Setup Go
17-
uses: actions/setup-go@v4
17+
uses: actions/setup-go@v6
1818
with:
19-
go-version: '1.21'
19+
go-version: '1.25'
2020
- name: Go test
2121
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -v
2222
- name: Upload coverage to Codecov
23-
uses: codecov/codecov-action@v3
23+
uses: codecov/codecov-action@v5
2424
with:
2525
token: ${{ secrets.CODECOV_TOKEN }}
2626
files: ./coverage.txt
@@ -34,7 +34,7 @@ jobs:
3434
username: ${{ secrets.DOCKERHUB_USERNAME }}
3535
password: ${{ secrets.DOCKERHUB_PASSWORD }}
3636
- name: Build and push
37-
uses: docker/build-push-action@v5
37+
uses: docker/build-push-action@v6
3838
with:
3939
context: .
4040
platforms: linux/amd64,linux/arm/v7,linux/arm64

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine3.19 AS build
1+
FROM golang:1.25-alpine AS build
22

33
RUN apk add --no-cache make git
44

go.mod

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,53 @@
11
module github.com/fantasticmao/csv-to-ical
22

3-
go 1.21.3
3+
go 1.25
44

55
require (
6-
github.com/gin-gonic/gin v1.10.0
7-
github.com/isee15/Lunar-Solar-Calendar-Converter/Go/lunarsolar v0.0.0-20220126083740-867dd2b85c5a
8-
github.com/prometheus/client_golang v1.19.1
9-
github.com/stretchr/testify v1.9.0
6+
github.com/gin-gonic/gin v1.11.0
7+
github.com/isee15/Lunar-Solar-Calendar-Converter/Go/lunarsolar v0.0.0-20251128051024-55d4e5479475
8+
github.com/prometheus/client_golang v1.23.2
9+
github.com/stretchr/testify v1.11.1
1010
gopkg.in/yaml.v3 v3.0.1
1111
)
1212

1313
require (
1414
github.com/beorn7/perks v1.0.1 // indirect
15-
github.com/bytedance/sonic v1.11.7 // indirect
16-
github.com/bytedance/sonic/loader v0.1.1 // indirect
17-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
18-
github.com/cloudwego/base64x v0.1.4 // indirect
19-
github.com/cloudwego/iasm v0.2.0 // indirect
15+
github.com/bytedance/gopkg v0.1.3 // indirect
16+
github.com/bytedance/sonic v1.15.0 // indirect
17+
github.com/bytedance/sonic/loader v0.5.0 // indirect
18+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
19+
github.com/cloudwego/base64x v0.1.6 // indirect
2020
github.com/davecgh/go-spew v1.1.1 // indirect
21-
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
22-
github.com/gin-contrib/sse v0.1.0 // indirect
21+
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
22+
github.com/gin-contrib/sse v1.1.0 // indirect
2323
github.com/go-playground/locales v0.14.1 // indirect
2424
github.com/go-playground/universal-translator v0.18.1 // indirect
25-
github.com/go-playground/validator/v10 v10.20.0 // indirect
26-
github.com/goccy/go-json v0.10.3 // indirect
25+
github.com/go-playground/validator/v10 v10.30.1 // indirect
26+
github.com/goccy/go-json v0.10.5 // indirect
27+
github.com/goccy/go-yaml v1.19.2 // indirect
2728
github.com/json-iterator/go v1.1.12 // indirect
28-
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
29+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
2930
github.com/kr/text v0.2.0 // indirect
3031
github.com/leodido/go-urn v1.4.0 // indirect
3132
github.com/mattn/go-isatty v0.0.20 // indirect
3233
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3334
github.com/modern-go/reflect2 v1.0.2 // indirect
34-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
35+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
36+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
3537
github.com/pmezard/go-difflib v1.0.0 // indirect
36-
github.com/prometheus/client_model v0.5.0 // indirect
37-
github.com/prometheus/common v0.48.0 // indirect
38-
github.com/prometheus/procfs v0.12.0 // indirect
38+
github.com/prometheus/client_model v0.6.2 // indirect
39+
github.com/prometheus/common v0.67.5 // indirect
40+
github.com/prometheus/procfs v0.19.2 // indirect
41+
github.com/quic-go/qpack v0.6.0 // indirect
42+
github.com/quic-go/quic-go v0.59.0 // indirect
3943
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
40-
github.com/ugorji/go/codec v1.2.12 // indirect
41-
golang.org/x/arch v0.8.0 // indirect
42-
golang.org/x/crypto v0.23.0 // indirect
43-
golang.org/x/net v0.25.0 // indirect
44-
golang.org/x/sys v0.20.0 // indirect
45-
golang.org/x/text v0.15.0 // indirect
46-
google.golang.org/protobuf v1.34.1 // indirect
44+
github.com/ugorji/go/codec v1.3.1 // indirect
45+
go.uber.org/mock v0.6.0 // indirect
46+
go.yaml.in/yaml/v2 v2.4.3 // indirect
47+
golang.org/x/arch v0.23.0 // indirect
48+
golang.org/x/crypto v0.47.0 // indirect
49+
golang.org/x/net v0.49.0 // indirect
50+
golang.org/x/sys v0.40.0 // indirect
51+
golang.org/x/text v0.33.0 // indirect
52+
google.golang.org/protobuf v1.36.11 // indirect
4753
)

0 commit comments

Comments
 (0)