Skip to content

Commit 6677319

Browse files
committed
Upgrade deps
1 parent 4d27b37 commit 6677319

File tree

10 files changed

+137
-69
lines changed

10 files changed

+137
-69
lines changed

.github/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
updates:
3+
# Enable GitHub Actions updates
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"
8+
open-pull-requests-limit: 10
9+
commit-message:
10+
prefix: "chore"
11+
include: "scope"
12+
13+
# Enable Go module updates
14+
- package-ecosystem: "gomod"
15+
directory: "/"
16+
schedule:
17+
interval: "monthly"
18+
open-pull-requests-limit: 10
19+
commit-message:
20+
prefix: "chore"
21+
include: "scope"
22+
23+
# Enable Docker updates
24+
- package-ecosystem: "docker"
25+
directory: "/"
26+
schedule:
27+
interval: "monthly"
28+
open-pull-requests-limit: 5
29+
commit-message:
30+
prefix: "chore"
31+
include: "scope"

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v2
35+
uses: github/codeql-action/init@v3
3636
with:
3737
languages: go
3838

3939
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java)
4040
- name: Autobuild
41-
uses: github/codeql-action/autobuild@v2
41+
uses: github/codeql-action/autobuild@v3
4242

4343
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v2
44+
uses: github/codeql-action/analyze@v3

.github/workflows/docker-image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
packages: write
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
# Login against a Docker registry except on PR
2828
# https://github.com/docker/login-action
2929
- name: Log into registry ${{ env.REGISTRY }}
3030
if: github.event_name != 'pull_request'
31-
uses: docker/login-action@v2
31+
uses: docker/login-action@v3
3232
with:
3333
registry: ${{ env.REGISTRY }}
3434
username: ${{ github.actor }}
@@ -40,11 +40,11 @@ jobs:
4040
# https://github.com/docker/metadata-action
4141
- name: Extract Docker metadata
4242
id: meta
43-
uses: docker/metadata-action@v4
43+
uses: docker/metadata-action@v5
4444
with:
4545
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4646
- name: Build and push Docker image
47-
uses: docker/build-push-action@v3
47+
uses: docker/build-push-action@v6
4848
with:
4949
context: .
5050
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/snyk-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: install snyk
1919
run: npm install -g snyk

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
############################################################
22
# Build image
33
############################################################
4-
FROM golang:1.24-alpine AS builder
4+
FROM golang:1.25-alpine AS builder
55

66
ARG VERSION
77
ARG BUILT_AT

e2e/topic_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func doElementsMatch(a, b []int32) bool {
154154
}
155155

156156
sort.Slice(a, func(i, j int) bool { return a[i] < a[j] })
157-
sort.Slice(b, func(i, j int) bool { return a[i] < a[j] })
157+
sort.Slice(b, func(i, j int) bool { return b[i] < b[j] })
158158
for i, num := range a {
159159
if num != b[i] {
160160
return false

go.mod

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cloudhut/kminion/v2
22

3-
go 1.24
3+
go 1.25
44

55
require (
66
github.com/google/uuid v1.6.0
@@ -10,16 +10,16 @@ require (
1010
github.com/mitchellh/mapstructure v1.5.0
1111
github.com/orcaman/concurrent-map v1.0.0
1212
github.com/pkg/errors v0.9.1
13-
github.com/prometheus/client_golang v1.20.5
14-
github.com/stretchr/testify v1.9.0
15-
github.com/twmb/franz-go v1.18.0
16-
github.com/twmb/franz-go/pkg/kadm v1.14.0
17-
github.com/twmb/franz-go/pkg/kmsg v1.9.0
13+
github.com/prometheus/client_golang v1.23.2
14+
github.com/stretchr/testify v1.11.1
15+
github.com/twmb/franz-go v1.19.5
16+
github.com/twmb/franz-go/pkg/kadm v1.16.1
17+
github.com/twmb/franz-go/pkg/kmsg v1.11.2
1818
github.com/twmb/franz-go/pkg/sasl/kerberos v1.1.0
1919
go.uber.org/atomic v1.11.0
20-
go.uber.org/automaxprocs v1.5.2
21-
go.uber.org/zap v1.24.0
22-
golang.org/x/sync v0.2.0
20+
go.uber.org/automaxprocs v1.6.0
21+
go.uber.org/zap v1.27.0
22+
golang.org/x/sync v0.17.0
2323
)
2424

2525
require (
@@ -32,20 +32,21 @@ require (
3232
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
3333
github.com/jcmturner/gofork v1.7.6 // indirect
3434
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
35-
github.com/klauspost/compress v1.17.11 // indirect
35+
github.com/klauspost/compress v1.18.0 // indirect
3636
github.com/mitchellh/copystructure v1.2.0 // indirect
3737
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3838
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3939
github.com/pelletier/go-toml v1.9.1 // indirect
40-
github.com/pierrec/lz4/v4 v4.1.21 // indirect
40+
github.com/pierrec/lz4/v4 v4.1.22 // indirect
4141
github.com/pmezard/go-difflib v1.0.0 // indirect
42-
github.com/prometheus/client_model v0.6.1 // indirect
43-
github.com/prometheus/common v0.60.1 // indirect
44-
github.com/prometheus/procfs v0.15.1 // indirect
42+
github.com/prometheus/client_model v0.6.2 // indirect
43+
github.com/prometheus/common v0.66.1 // indirect
44+
github.com/prometheus/procfs v0.16.1 // indirect
4545
go.uber.org/multierr v1.11.0 // indirect
46-
golang.org/x/crypto v0.41.0 // indirect
47-
golang.org/x/net v0.43.0 // indirect
48-
golang.org/x/sys v0.35.0 // indirect
49-
google.golang.org/protobuf v1.35.1 // indirect
46+
go.yaml.in/yaml/v2 v2.4.2 // indirect
47+
golang.org/x/crypto v0.42.0 // indirect
48+
golang.org/x/net v0.44.0 // indirect
49+
golang.org/x/sys v0.36.0 // indirect
50+
google.golang.org/protobuf v1.36.8 // indirect
5051
gopkg.in/yaml.v3 v3.0.1 // indirect
5152
)

0 commit comments

Comments
 (0)