Skip to content

Commit 071a3c1

Browse files
authored
fix: Update dependencies (#66)
* fix: Update dependencies * fix: use same version of apimachinery as operator * fix: update golangci-lint * fix: update Go version to 1.26.2
1 parent 922ebe7 commit 071a3c1

4 files changed

Lines changed: 140 additions & 114 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Go
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66

77
permissions: {}
88
jobs:
@@ -11,15 +11,15 @@ jobs:
1111
permissions:
1212
contents: read
1313
steps:
14-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515

16-
- name: Set up Go
17-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
18-
with:
19-
go-version-file: 'go.mod'
16+
- name: Set up Go
17+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
18+
with:
19+
go-version-file: "go.mod"
2020

21-
- name: Test
22-
run: go test -cover ./...
21+
- name: Test
22+
run: go test -cover ./...
2323

2424
lint:
2525
name: Lint
@@ -32,8 +32,8 @@ jobs:
3232
fetch-depth: 2
3333
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
3434
with:
35-
go-version-file: 'go.mod'
35+
go-version-file: "go.mod"
3636
- name: golangci-lint
3737
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3838
with:
39-
version: v2.7.2
39+
version: v2.10.1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ HAS_GOLANGCI_LINT := $(shell command -v golangci-lint;)
1010

1111
bootstrap:
1212
ifndef HAS_GOLANGCI_LINT
13-
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.7.2
13+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
1414
endif

go.mod

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,63 @@
11
module github.com/equinor/radix-common
22

3-
go 1.25.7
3+
go 1.26.2
44

55
require (
66
dario.cat/mergo v1.0.2
77
github.com/elnormous/contenttype v1.0.4
8-
github.com/gin-gonic/gin v1.11.0
9-
github.com/golang-jwt/jwt/v5 v5.3.0
8+
github.com/gin-gonic/gin v1.12.0
9+
github.com/golang-jwt/jwt/v5 v5.3.1
1010
github.com/pkg/errors v0.9.1
1111
github.com/rs/xid v1.6.0
12-
github.com/rs/zerolog v1.34.0
12+
github.com/rs/zerolog v1.35.0
1313
github.com/stretchr/testify v1.11.1
1414
gorm.io/gorm v1.31.1
15-
k8s.io/apimachinery v0.35.0
15+
k8s.io/apimachinery v0.34.2
1616
)
1717

1818
require (
19-
github.com/bytedance/sonic v1.14.0 // indirect
20-
github.com/bytedance/sonic/loader v0.3.0 // indirect
19+
github.com/bytedance/gopkg v0.1.3 // indirect
20+
github.com/bytedance/sonic v1.15.0 // indirect
21+
github.com/bytedance/sonic/loader v0.5.1 // indirect
2122
github.com/cloudwego/base64x v0.1.6 // indirect
2223
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
24-
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
25-
github.com/gin-contrib/sse v1.1.0 // indirect
24+
github.com/fxamacker/cbor/v2 v2.9.1 // indirect
25+
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
26+
github.com/gin-contrib/sse v1.1.1 // indirect
2627
github.com/go-logr/logr v1.4.3 // indirect
2728
github.com/go-playground/locales v0.14.1 // indirect
2829
github.com/go-playground/universal-translator v0.18.1 // indirect
29-
github.com/go-playground/validator/v10 v10.27.0 // indirect
30-
github.com/goccy/go-json v0.10.2 // indirect
31-
github.com/goccy/go-yaml v1.18.0 // indirect
30+
github.com/go-playground/validator/v10 v10.30.2 // indirect
31+
github.com/goccy/go-json v0.10.6 // indirect
32+
github.com/goccy/go-yaml v1.19.2 // indirect
33+
github.com/gogo/protobuf v1.3.2 // indirect
3234
github.com/json-iterator/go v1.1.12 // indirect
3335
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
34-
github.com/kr/text v0.2.0 // indirect
3536
github.com/leodido/go-urn v1.4.0 // indirect
36-
github.com/mattn/go-colorable v0.1.13 // indirect
37-
github.com/mattn/go-isatty v0.0.20 // indirect
37+
github.com/mattn/go-colorable v0.1.14 // indirect
38+
github.com/mattn/go-isatty v0.0.21 // indirect
3839
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3940
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
40-
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
41+
github.com/pelletier/go-toml/v2 v2.3.0 // indirect
4142
github.com/pmezard/go-difflib v1.0.0 // indirect
4243
github.com/quic-go/qpack v0.6.0 // indirect
43-
github.com/quic-go/quic-go v0.57.0 // indirect
44+
github.com/quic-go/quic-go v0.59.0 // indirect
4445
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
45-
github.com/ugorji/go/codec v1.3.0 // indirect
46+
github.com/ugorji/go/codec v1.3.1 // indirect
4647
github.com/x448/float16 v0.8.4 // indirect
47-
go.yaml.in/yaml/v2 v2.4.3 // indirect
48-
golang.org/x/arch v0.20.0 // indirect
49-
golang.org/x/crypto v0.45.0 // indirect
50-
golang.org/x/net v0.47.0 // indirect
51-
golang.org/x/sys v0.38.0 // indirect
52-
golang.org/x/text v0.31.0 // indirect
53-
google.golang.org/protobuf v1.36.9 // indirect
48+
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
49+
go.yaml.in/yaml/v2 v2.4.4 // indirect
50+
golang.org/x/arch v0.25.0 // indirect
51+
golang.org/x/crypto v0.50.0 // indirect
52+
golang.org/x/net v0.53.0 // indirect
53+
golang.org/x/sys v0.43.0 // indirect
54+
golang.org/x/text v0.36.0 // indirect
55+
google.golang.org/protobuf v1.36.11 // indirect
5456
gopkg.in/inf.v0 v0.9.1 // indirect
5557
gopkg.in/yaml.v3 v3.0.1 // indirect
56-
k8s.io/klog/v2 v2.130.1 // indirect
57-
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
58-
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
58+
k8s.io/klog/v2 v2.140.0 // indirect
59+
k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 // indirect
5960
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
6061
sigs.k8s.io/randfill v1.0.0 // indirect
61-
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
62+
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
6263
)

0 commit comments

Comments
 (0)