Skip to content

Commit 2ca6027

Browse files
authored
chore: bump dependencies (#56)
1 parent d7c70ec commit 2ca6027

File tree

7 files changed

+126
-136
lines changed

7 files changed

+126
-136
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,46 +12,38 @@ jobs:
1212
check:
1313
runs-on: ubuntu-latest
1414
env:
15-
GO_VERSION: "1.23"
1615
GOLANGCI_LINT_VERSION: v1.60.3
1716

1817
steps:
1918
- name: Check out source code
2019
uses: actions/checkout@v4
2120

2221
- name: Install Go
23-
if: success()
2422
uses: actions/setup-go@v5
2523
with:
26-
go-version: ${{ env.GO_VERSION }}
24+
go-version-file: 'go.mod'
2725

28-
- name: Cache Go modules
29-
uses: actions/cache@v4
26+
- name: Download dependencies
27+
run: go mod download
28+
29+
- name: Run Linter
30+
uses: golangci/golangci-lint-action@v6
3031
with:
31-
path: ~/go/pkg/mod
32-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
33-
restore-keys: |
34-
${{ runner.os }}-go-
32+
version: ${{ inputs.GOLANGCI_LINT_VERSION }}
3533

36-
# Here, we simply print the exact go version, to have it as part of the
37-
# action's output, which might be convenient.
38-
- name: Print Go version
39-
run: go version
34+
- name: Setup gotestsum
35+
uses: gertd/action-gotestsum@v3.0.0
36+
with:
37+
gotestsum_version: v1.12.0
4038

41-
# This check makes sure that the `go.mod` and `go.sum` files for Go
42-
# modules are always up-to-date.
43-
- name: Verify Go modules
44-
run: go mod tidy && git status && git --no-pager diff && git diff-index --quiet HEAD --
39+
- name: Run Tests
40+
run: gotestsum --junitfile tests.xml --format pkgname -- -cover -race ./...
4541

46-
# This check runs the linter, which enforces code formatting and quality.
47-
- name: Run linter
48-
uses: golangci/golangci-lint-action@v6
42+
- name: Test Summary
43+
uses: test-summary/action@v2
4944
with:
50-
version: ${{ env.GOLANGCI_LINT_VERSION }}
51-
52-
# This check runs all unit tests.
53-
- name: Verify unit tests
54-
run: make test
45+
paths: "tests.xml"
46+
if: always()
5547

5648
# Run GoReleaser.
5749
- name: Run GoReleaser

.github/workflows/release.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
name: AutoRelease
1+
name: Release
22

3-
# AutoRelease runs whenever a tag is pushed.
43
on:
54
workflow_dispatch:
65
push:
@@ -10,12 +9,11 @@ on:
109
jobs:
1110
goreleaser:
1211
runs-on: ubuntu-latest
13-
env:
14-
GO_VERSION: "1.23"
15-
1612
steps:
1713
- name: Checkout source code
1814
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
1917

2018
- name: Login to GitHub Container Registry
2119
uses: docker/login-action@v3
@@ -28,15 +26,7 @@ jobs:
2826
if: success()
2927
uses: actions/setup-go@v5
3028
with:
31-
go-version: ${{ env.GO_VERSION }}
32-
33-
- name: Cache Go modules
34-
uses: actions/cache@v4
35-
with:
36-
path: ~/go/pkg/mod
37-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
38-
restore-keys: |
39-
${{ runner.os }}-go-
29+
go-version-file: 'go.mod'
4030

4131
# Run GoReleaser.
4232
- name: Run GoReleaser

.golangci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ linters-settings:
1717
linters:
1818
enable-all: true
1919
disable:
20-
- exportloopref # deprecated
21-
- execinquery # deprecated
22-
- gomnd # deprecated
20+
- tenv # deprecated
2321
- exhaustive
2422
- exhaustruct
2523
- forcetypeassert

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ builds:
2121
- CGO_ENABLED=0
2222

2323
archives:
24-
- format: binary
24+
- formats: ["binary"]
2525

2626
checksum:
2727
name_template: '{{ .ProjectName }}_checksums.txt'

go.mod

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,65 @@
11
module github.com/nitrado/connqc
22

3-
go 1.23
3+
go 1.24.1
44

55
require (
66
github.com/ettle/strcase v0.2.0
7-
github.com/hamba/cmd/v2 v2.13.0
8-
github.com/hamba/logger/v2 v2.7.0
9-
github.com/hamba/testutils v0.4.0
7+
github.com/hamba/cmd/v2 v2.15.0
8+
github.com/hamba/logger/v2 v2.8.0
9+
github.com/hamba/testutils v0.5.0
1010
github.com/joho/godotenv v1.5.1
1111
github.com/stretchr/testify v1.10.0
12-
github.com/urfave/cli/v2 v2.27.5
12+
github.com/urfave/cli/v2 v2.27.6
1313
)
1414

1515
require (
16-
github.com/VictoriaMetrics/metrics v1.35.1 // indirect
16+
github.com/VictoriaMetrics/metrics v1.35.2 // indirect
1717
github.com/beorn7/perks v1.0.1 // indirect
1818
github.com/cactus/go-statsd-client/v5 v5.1.0 // indirect
1919
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
2020
github.com/cespare/xxhash/v2 v2.3.0 // indirect
21-
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
21+
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/fatih/color v1.17.0 // indirect
23+
github.com/fatih/color v1.18.0 // indirect
2424
github.com/go-logr/logr v1.4.2 // indirect
2525
github.com/go-logr/stdr v1.2.2 // indirect
2626
github.com/go-stack/stack v1.8.1 // indirect
2727
github.com/google/uuid v1.6.0 // indirect
28-
github.com/grafana/pyroscope-go v1.2.0 // indirect
28+
github.com/grafana/pyroscope-go v1.2.1 // indirect
2929
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
30-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
31-
github.com/hamba/statter/v2 v2.4.0 // indirect
32-
github.com/klauspost/compress v1.17.9 // indirect
30+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
31+
github.com/hamba/statter/v2 v2.6.0 // indirect
32+
github.com/klauspost/compress v1.18.0 // indirect
3333
github.com/mattn/go-colorable v0.1.13 // indirect
3434
github.com/mattn/go-isatty v0.0.20 // indirect
3535
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3636
github.com/openzipkin/zipkin-go v0.4.3 // indirect
3737
github.com/pmezard/go-difflib v1.0.0 // indirect
38-
github.com/prometheus/client_golang v1.20.4 // indirect
38+
github.com/prometheus/client_golang v1.21.1 // indirect
3939
github.com/prometheus/client_model v0.6.1 // indirect
40-
github.com/prometheus/common v0.59.1 // indirect
40+
github.com/prometheus/common v0.62.0 // indirect
4141
github.com/prometheus/procfs v0.15.1 // indirect
42+
github.com/puzpuzpuz/xsync v1.5.2 // indirect
4243
github.com/russross/blackfriday/v2 v2.1.0 // indirect
4344
github.com/valyala/fastrand v1.1.0 // indirect
4445
github.com/valyala/histogram v1.2.0 // indirect
4546
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
46-
go.opentelemetry.io/otel v1.30.0 // indirect
47-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0 // indirect
48-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0 // indirect
49-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.30.0 // indirect
50-
go.opentelemetry.io/otel/exporters/zipkin v1.30.0 // indirect
51-
go.opentelemetry.io/otel/metric v1.30.0 // indirect
52-
go.opentelemetry.io/otel/sdk v1.30.0 // indirect
53-
go.opentelemetry.io/otel/trace v1.30.0 // indirect
54-
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
55-
golang.org/x/net v0.29.0 // indirect
56-
golang.org/x/sys v0.25.0 // indirect
57-
golang.org/x/text v0.18.0 // indirect
58-
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
59-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
60-
google.golang.org/grpc v1.66.1 // indirect
61-
google.golang.org/protobuf v1.34.2 // indirect
47+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
48+
go.opentelemetry.io/otel v1.35.0 // indirect
49+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 // indirect
50+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0 // indirect
51+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0 // indirect
52+
go.opentelemetry.io/otel/exporters/zipkin v1.35.0 // indirect
53+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
54+
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
55+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
56+
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
57+
golang.org/x/net v0.37.0 // indirect
58+
golang.org/x/sys v0.31.0 // indirect
59+
golang.org/x/text v0.23.0 // indirect
60+
google.golang.org/genproto/googleapis/api v0.0.0-20250311190419-81fb87f6b8bf // indirect
61+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250311190419-81fb87f6b8bf // indirect
62+
google.golang.org/grpc v1.71.0 // indirect
63+
google.golang.org/protobuf v1.36.5 // indirect
6264
gopkg.in/yaml.v3 v3.0.1 // indirect
6365
)

0 commit comments

Comments
 (0)