Skip to content

Commit 91521d4

Browse files
authored
Merge branch 'main' into fix/containerd-config-default-last
2 parents 1e3e144 + 53f1864 commit 91521d4

File tree

5 files changed

+62
-84
lines changed

5 files changed

+62
-84
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2929
with:
30-
go-version: "1.23"
30+
go-version: "1.24"
3131
- run: make test
3232

3333
golangci:
@@ -37,9 +37,9 @@ jobs:
3737
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3838
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
3939
with:
40-
go-version: "1.23"
40+
go-version: "1.24"
4141
- name: golangci-lint
42-
uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1
42+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
4343
with:
44-
version: v1.63.4
44+
version: v1.64.7
4545
skip-cache: true

.golangci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ linters-settings:
9898
# Default: true
9999
skipRecvDeref: false
100100

101-
gomnd:
101+
mnd:
102102
# List of function patterns to exclude from analysis.
103103
# Values always ignored: `time.Date`,
104104
# `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`,
@@ -143,7 +143,7 @@ linters-settings:
143143
nolintlint:
144144
# Exclude following linters from requiring an explanation.
145145
# Default: []
146-
allow-no-explanation: [ funlen, gocognit, lll ]
146+
allow-no-explanation: [funlen, gocognit, lll]
147147
# Enable to require an explanation of nonzero length after each nolint directive.
148148
# Default: false
149149
require-explanation: true
@@ -172,7 +172,6 @@ linters-settings:
172172
nestif:
173173
min-complexity: 8
174174

175-
176175
linters:
177176
disable-all: true
178177
enable:
@@ -283,9 +282,9 @@ issues:
283282

284283
exclude-rules:
285284
- source: "(noinspection|TODO)"
286-
linters: [ godot ]
285+
linters: [godot]
287286
- source: "//noinspection"
288-
linters: [ gocritic ]
287+
linters: [gocritic]
289288
- path: "_test\\.go"
290289
linters:
291290
- bodyclose

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24@sha256:c5adecdb7b3f8c5ca3c88648a861882849cc8b02fed68ece31e25de88ad13418 AS builder
2+
FROM golang:1.24@sha256:fa145a3c13f145356057e00ed6f66fbd9bf017798c9d7b2b8e956651fe4f52da AS builder
33
ARG TARGETOS
44
ARG TARGETARCH
55

@@ -24,7 +24,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
2424

2525
# Use distroless as minimal base image to package the manager binary
2626
# Refer to https://github.com/GoogleContainerTools/distroless for more details
27-
FROM gcr.io/distroless/static:nonroot@sha256:6ec5aa99dc335666e79dc64e4a6c8b89c33a543a1967f20d360922a80dd21f02
27+
FROM gcr.io/distroless/static:nonroot@sha256:b35229a3a6398fe8f86138c74c611e386f128c20378354fc5442811700d5600d
2828
WORKDIR /
2929
COPY --from=builder /workspace/bin/manager .
3030
USER 65532:65532

go.mod

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
module github.com/spinframework/runtime-class-manager
22

3-
go 1.23.0
4-
5-
toolchain go1.23.5
6-
3+
go 1.24.1
74
require (
85
github.com/mitchellh/go-ps v1.0.0
9-
github.com/onsi/ginkgo/v2 v2.22.2
6+
github.com/onsi/ginkgo/v2 v2.23.0
107
github.com/onsi/gomega v1.36.2
11-
github.com/prometheus/common v0.62.0
8+
github.com/prometheus/common v0.63.0
129
github.com/rs/zerolog v1.33.0
13-
github.com/spf13/afero v1.12.0
10+
github.com/spf13/afero v1.14.0
1411
github.com/spf13/cobra v1.9.1
1512
github.com/spf13/pflag v1.0.6
16-
github.com/spf13/viper v1.19.0
13+
github.com/spf13/viper v1.20.0
1714
github.com/stretchr/testify v1.10.0
1815
k8s.io/api v0.32.3
1916
k8s.io/apimachinery v0.32.3
@@ -27,63 +24,58 @@ require (
2724
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2825
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
2926
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
30-
github.com/fsnotify/fsnotify v1.7.0 // indirect
27+
github.com/fsnotify/fsnotify v1.8.0 // indirect
3128
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
3229
github.com/go-logr/logr v1.4.2 // indirect
3330
github.com/go-logr/zapr v1.3.0 // indirect
3431
github.com/go-openapi/jsonpointer v0.21.0 // indirect
3532
github.com/go-openapi/jsonreference v0.20.2 // indirect
3633
github.com/go-openapi/swag v0.23.0 // indirect
3734
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
35+
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
3836
github.com/gogo/protobuf v1.3.2 // indirect
3937
github.com/golang/protobuf v1.5.4 // indirect
4038
github.com/google/btree v1.1.3 // indirect
4139
github.com/google/gnostic-models v0.6.8 // indirect
42-
github.com/google/go-cmp v0.6.0 // indirect
40+
github.com/google/go-cmp v0.7.0 // indirect
4341
github.com/google/gofuzz v1.2.0 // indirect
4442
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
4543
github.com/google/uuid v1.6.0 // indirect
46-
github.com/hashicorp/hcl v1.0.0 // indirect
4744
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4845
github.com/josharian/intern v1.0.0 // indirect
4946
github.com/json-iterator/go v1.1.12 // indirect
5047
github.com/klauspost/compress v1.17.9 // indirect
51-
github.com/magiconair/properties v1.8.7 // indirect
5248
github.com/mailru/easyjson v0.7.7 // indirect
5349
github.com/mattn/go-colorable v0.1.13 // indirect
5450
github.com/mattn/go-isatty v0.0.19 // indirect
55-
github.com/mitchellh/mapstructure v1.5.0 // indirect
5651
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5752
github.com/modern-go/reflect2 v1.0.2 // indirect
5853
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
59-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
54+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
6055
github.com/pkg/errors v0.9.1 // indirect
6156
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
6257
github.com/prometheus/client_golang v1.20.4 // indirect
6358
github.com/prometheus/client_model v0.6.1 // indirect
6459
github.com/prometheus/procfs v0.15.1 // indirect
65-
github.com/sagikazarmark/locafero v0.4.0 // indirect
66-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
60+
github.com/sagikazarmark/locafero v0.7.0 // indirect
6761
github.com/sourcegraph/conc v0.3.0 // indirect
68-
github.com/spf13/cast v1.6.0 // indirect
62+
github.com/spf13/cast v1.7.1 // indirect
6963
github.com/subosito/gotenv v1.6.0 // indirect
7064
github.com/x448/float16 v0.8.4 // indirect
7165
go.uber.org/multierr v1.11.0 // indirect
7266
go.uber.org/zap v1.27.0 // indirect
73-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
74-
golang.org/x/net v0.33.0 // indirect
67+
golang.org/x/net v0.35.0 // indirect
7568
golang.org/x/oauth2 v0.25.0 // indirect
76-
golang.org/x/sync v0.10.0 // indirect
77-
golang.org/x/sys v0.29.0 // indirect
78-
golang.org/x/term v0.27.0 // indirect
79-
golang.org/x/text v0.21.0 // indirect
69+
golang.org/x/sync v0.12.0 // indirect
70+
golang.org/x/sys v0.30.0 // indirect
71+
golang.org/x/term v0.29.0 // indirect
72+
golang.org/x/text v0.23.0 // indirect
8073
golang.org/x/time v0.8.0 // indirect
81-
golang.org/x/tools v0.28.0 // indirect
74+
golang.org/x/tools v0.30.0 // indirect
8275
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
83-
google.golang.org/protobuf v1.36.1 // indirect
76+
google.golang.org/protobuf v1.36.5 // indirect
8477
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
8578
gopkg.in/inf.v0 v0.9.1 // indirect
86-
gopkg.in/ini.v1 v1.67.0 // indirect
8779
gopkg.in/yaml.v3 v3.0.1 // indirect
8880
k8s.io/apiextensions-apiserver v0.32.1 // indirect
8981
k8s.io/klog/v2 v2.130.1 // indirect

0 commit comments

Comments
 (0)