Skip to content

Commit 454e18e

Browse files
authored
Merge pull request #77 from stackitcloud/chore/update-dependencies
chore: update dependencies and fix releaser
2 parents b9291e3 + 3601ab4 commit 454e18e

6 files changed

Lines changed: 159 additions & 161 deletions

File tree

.github/workflows/semgrep.yaml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,27 @@ jobs:
1010
runs-on: ubuntu-latest
1111
# Skip any PR created by dependabot to avoid permission issues
1212
if: (github.actor != 'dependabot[bot]')
13+
container:
14+
image: semgrep/semgrep:1.168.0@sha256:59fbed6127ea7c5dde3ba6a85142733bb20ea9aaa36120c953904f1539aaf66e
1315
steps:
1416
# Fetch project source
1517
- uses: actions/checkout@v7
1618

17-
- uses: returntocorp/semgrep-action@v1
18-
with:
19-
config: >- # more at semgrep.dev/explore
20-
p/security-audit
21-
p/secrets
22-
p/ci
23-
p/r2c
24-
p/r2c-ci
25-
p/docker
26-
p/dockerfile
27-
p/command-injection
28-
generateSarif: "1"
19+
- name: Run Semgrep
20+
run: |
21+
semgrep scan \
22+
--sarif \
23+
--output=semgrep.sarif \
24+
--config="p/security-audit" \
25+
--config="p/secrets" \
26+
--config="p/ci" \
27+
--config="p/default" \
28+
--config="p/docker" \
29+
--config="p/dockerfile" \
30+
--config="p/command-injection"
2931
3032
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
3133
- name: Upload SARIF file for GitHub Advanced Security Dashboard
3234
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
3335
with:
34-
sarif_file: semgrep.sarif
35-
if: always()
36+
sarif_file: semgrep.sarif

.golangci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "2"
22
run:
33
concurrency: 4
4-
go: 1.25.6
4+
go: 1.26.4
55
build-tags:
66
- mytag
77
issues-exit-code: 1
@@ -31,7 +31,7 @@ linters:
3131
- godox
3232
- goheader
3333
- gomoddirectives
34-
- gomodguard
34+
- gomodguard_v2
3535
- goprintffuncname
3636
- gosec
3737
- importas
@@ -42,7 +42,6 @@ linters:
4242
- nilerr
4343
- nilnil
4444
- nlreturn
45-
- noctx
4645
- nolintlint
4746
- paralleltest
4847
- prealloc
@@ -63,6 +62,7 @@ linters:
6362
- gochecknoinits
6463
- ireturn
6564
- lll
65+
- noctx
6666
- revive
6767
- tagliatelle
6868
- testpackage
@@ -155,6 +155,7 @@ linters:
155155
min: 3
156156
max: 3
157157
ignore-calls: true
158+
ignore-tests: true
158159
gocritic:
159160
enabled-tags:
160161
- performance

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GOLANGCI_VERSION = 2.10.1
1+
GOLANGCI_VERSION = 2.12.2
22
LICENCES_IGNORE_LIST = $(shell cat licenses/licenses-ignore-list.txt)
33

44
VERSION ?= 0.0.1
@@ -31,7 +31,7 @@ mocks:
3131

3232
GOLANGCI_LINT = bin/golangci-lint-$(GOLANGCI_VERSION)
3333
$(GOLANGCI_LINT):
34-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b bin v$(GOLANGCI_VERSION)
34+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/main/install.sh | bash -s -- -b bin v$(GOLANGCI_VERSION)
3535
@mv bin/golangci-lint "$(@)"
3636

3737
lint: $(GOLANGCI_LINT) download

go.mod

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.26.4
55
require (
66
github.com/goccy/go-json v0.10.6
77
github.com/gofiber/adaptor/v2 v2.2.1
8-
github.com/gofiber/fiber/v2 v2.52.13
8+
github.com/gofiber/fiber/v2 v2.52.14
99
github.com/prometheus/client_golang v1.23.2
1010
github.com/spf13/cobra v1.10.2
1111
github.com/spf13/pflag v1.0.10
@@ -21,88 +21,87 @@ require (
2121
require (
2222
github.com/alecthomas/kingpin/v2 v2.4.0 // indirect
2323
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b // indirect
24-
github.com/andybalholm/brotli v1.2.0 // indirect
25-
github.com/aws/aws-sdk-go-v2/service/route53 v1.62.5 // indirect
26-
github.com/aws/smithy-go v1.24.3 // indirect
24+
github.com/andybalholm/brotli v1.2.2 // indirect
25+
github.com/aws/aws-sdk-go-v2/service/route53 v1.63.5 // indirect
26+
github.com/aws/smithy-go v1.27.3 // indirect
2727
github.com/beorn7/perks v1.0.1 // indirect
2828
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2929
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
3030
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3131
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
3232
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
33-
github.com/fsnotify/fsnotify v1.9.0 // indirect
34-
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
33+
github.com/fsnotify/fsnotify v1.10.1 // indirect
34+
github.com/fxamacker/cbor/v2 v2.9.2 // indirect
3535
github.com/go-logr/logr v1.4.3 // indirect
36-
github.com/go-openapi/jsonpointer v0.22.5 // indirect
37-
github.com/go-openapi/jsonreference v0.21.5 // indirect
38-
github.com/go-openapi/swag v0.25.5 // indirect
39-
github.com/go-openapi/swag/cmdutils v0.25.5 // indirect
40-
github.com/go-openapi/swag/conv v0.25.5 // indirect
41-
github.com/go-openapi/swag/fileutils v0.25.5 // indirect
42-
github.com/go-openapi/swag/jsonname v0.25.5 // indirect
43-
github.com/go-openapi/swag/jsonutils v0.25.5 // indirect
44-
github.com/go-openapi/swag/loading v0.25.5 // indirect
45-
github.com/go-openapi/swag/mangling v0.25.5 // indirect
46-
github.com/go-openapi/swag/netutils v0.25.5 // indirect
47-
github.com/go-openapi/swag/stringutils v0.25.5 // indirect
48-
github.com/go-openapi/swag/typeutils v0.25.5 // indirect
49-
github.com/go-openapi/swag/yamlutils v0.25.5 // indirect
36+
github.com/go-openapi/jsonpointer v0.24.0 // indirect
37+
github.com/go-openapi/jsonreference v0.21.6 // indirect
38+
github.com/go-openapi/swag v0.27.0 // indirect
39+
github.com/go-openapi/swag/cmdutils v0.27.0 // indirect
40+
github.com/go-openapi/swag/conv v0.27.0 // indirect
41+
github.com/go-openapi/swag/fileutils v0.27.0 // indirect
42+
github.com/go-openapi/swag/jsonutils v0.27.0 // indirect
43+
github.com/go-openapi/swag/loading v0.27.0 // indirect
44+
github.com/go-openapi/swag/mangling v0.27.0 // indirect
45+
github.com/go-openapi/swag/netutils v0.27.0 // indirect
46+
github.com/go-openapi/swag/stringutils v0.27.0 // indirect
47+
github.com/go-openapi/swag/typeutils v0.27.0 // indirect
48+
github.com/go-openapi/swag/yamlutils v0.27.0 // indirect
5049
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
5150
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
5251
github.com/google/gnostic-models v0.7.1 // indirect
5352
github.com/google/go-cmp v0.7.0 // indirect
5453
github.com/google/uuid v1.6.0 // indirect
5554
github.com/inconshreveable/mousetrap v1.1.0 // indirect
5655
github.com/json-iterator/go v1.1.12 // indirect
57-
github.com/klauspost/compress v1.18.4 // indirect
58-
github.com/mattn/go-colorable v0.1.14 // indirect
59-
github.com/mattn/go-isatty v0.0.20 // indirect
60-
github.com/mattn/go-runewidth v0.0.20 // indirect
56+
github.com/klauspost/compress v1.19.0 // indirect
57+
github.com/mattn/go-colorable v0.1.15 // indirect
58+
github.com/mattn/go-isatty v0.0.22 // indirect
59+
github.com/mattn/go-runewidth v0.0.24 // indirect
6160
github.com/miekg/dns v1.1.72 // indirect
6261
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6362
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
6463
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
6564
github.com/onsi/ginkgo/v2 v2.28.0 // indirect
6665
github.com/onsi/gomega v1.39.1 // indirect
67-
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
66+
github.com/pelletier/go-toml/v2 v2.4.3 // indirect
6867
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
6968
github.com/prometheus/client_model v0.6.2 // indirect
70-
github.com/prometheus/common v0.67.5 // indirect
71-
github.com/prometheus/procfs v0.20.1 // indirect
69+
github.com/prometheus/common v0.69.0 // indirect
70+
github.com/prometheus/procfs v0.21.1 // indirect
7271
github.com/sagikazarmark/locafero v0.12.0 // indirect
7372
github.com/sirupsen/logrus v1.9.4 // indirect
7473
github.com/spf13/afero v1.15.0 // indirect
7574
github.com/spf13/cast v1.10.0 // indirect
7675
github.com/subosito/gotenv v1.6.0 // indirect
7776
github.com/valyala/bytebufferpool v1.0.0 // indirect
78-
github.com/valyala/fasthttp v1.69.0 // indirect
77+
github.com/valyala/fasthttp v1.72.0 // indirect
7978
github.com/x448/float16 v0.8.4 // indirect
8079
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
8180
go.uber.org/multierr v1.11.0 // indirect
82-
go.yaml.in/yaml/v2 v2.4.3 // indirect
81+
go.yaml.in/yaml/v2 v2.4.4 // indirect
8382
go.yaml.in/yaml/v3 v3.0.4 // indirect
84-
golang.org/x/mod v0.33.0 // indirect
85-
golang.org/x/net v0.52.0 // indirect
83+
golang.org/x/mod v0.37.0 // indirect
84+
golang.org/x/net v0.56.0 // indirect
8685
golang.org/x/oauth2 v0.36.0 // indirect
87-
golang.org/x/sync v0.20.0 // indirect
88-
golang.org/x/sys v0.42.0 // indirect
89-
golang.org/x/term v0.41.0 // indirect
90-
golang.org/x/text v0.35.0 // indirect
86+
golang.org/x/sync v0.21.0 // indirect
87+
golang.org/x/sys v0.46.0 // indirect
88+
golang.org/x/term v0.44.0 // indirect
89+
golang.org/x/text v0.38.0 // indirect
9190
golang.org/x/time v0.15.0 // indirect
92-
golang.org/x/tools v0.42.0 // indirect
93-
google.golang.org/protobuf v1.36.11 // indirect
91+
golang.org/x/tools v0.47.0 // indirect
92+
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
9493
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
9594
gopkg.in/inf.v0 v0.9.1 // indirect
9695
gopkg.in/yaml.v3 v3.0.1 // indirect
97-
k8s.io/api v0.35.3 // indirect
98-
k8s.io/apimachinery v0.35.3 // indirect
99-
k8s.io/client-go v0.35.3 // indirect
96+
k8s.io/api v0.36.2 // indirect
97+
k8s.io/apimachinery v0.36.2 // indirect
98+
k8s.io/client-go v0.36.2 // indirect
10099
k8s.io/klog/v2 v2.140.0 // indirect
101-
k8s.io/kube-openapi v0.0.0-20260304202019-5b3e3fdb0acf // indirect
102-
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
103-
sigs.k8s.io/controller-runtime v0.23.3 // indirect
100+
k8s.io/kube-openapi v0.0.0-20260624041617-8f3fa4921821 // indirect
101+
k8s.io/utils v0.0.0-20260626114624-be93311217bd // indirect
102+
sigs.k8s.io/controller-runtime v0.24.1 // indirect
104103
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
105104
sigs.k8s.io/randfill v1.0.0 // indirect
106-
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
105+
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect
107106
sigs.k8s.io/yaml v1.6.0 // indirect
108107
)

0 commit comments

Comments
 (0)