Skip to content

Commit edf55e1

Browse files
author
sapcc-bot
committed
Run go-makefile-maker and autoupdate dependencies
go: upgraded github.com/sapcc/go-bits v0.0.0-20260514170017-1116652010c6 => v0.0.0-20260528142640-88b87e0330e2 go: upgraded golang.org/x/net v0.53.0 => v0.55.0 go: upgraded golang.org/x/sys v0.43.0 => v0.45.0 go: upgraded golang.org/x/term v0.42.0 => v0.43.0 go: upgraded golang.org/x/text v0.36.0 => v0.37.0
1 parent 484b607 commit edf55e1

6 files changed

Lines changed: 52 additions & 43 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,29 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Check out code
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
28+
with:
29+
persist-credentials: false
2830
- name: Set up Go
29-
uses: actions/setup-go@v6
31+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3032
with:
3133
check-latest: true
3234
go-version: 1.26.3
3335
- name: Run golangci-lint
34-
uses: golangci/golangci-lint-action@v9
36+
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9
3537
with:
36-
version: latest
38+
version: v2.12.2
3739
- name: Delete pre-installed shellcheck
3840
run: sudo rm -f "$(which shellcheck)"
3941
- name: Run shellcheck
4042
run: make run-shellcheck
4143
- name: Dependency Licenses Review
4244
run: make check-dependency-licenses
4345
- name: Check for spelling errors
44-
uses: crate-ci/typos@v1
46+
uses: crate-ci/typos@7b04f660f4ee4f048d18fd341887cf28dfbedfe2 # v1
4547
env:
4648
CLICOLOR: "1"
4749
- name: Check if source code files have license header
4850
run: make check-addlicense
4951
- name: REUSE Compliance Check
50-
uses: fsfe/reuse-action@v6
51-
- name: Install govulncheck
52-
run: go install golang.org/x/vuln/cmd/govulncheck@latest
53-
- name: Run govulncheck
54-
run: govulncheck -format text ./...
52+
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6

.github/workflows/ci.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Check out code
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
31+
with:
32+
persist-credentials: false
3133
- name: Set up Go
32-
uses: actions/setup-go@v6
34+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3335
with:
3436
check-latest: true
3537
go-version: 1.26.3
@@ -43,12 +45,15 @@ jobs:
4345
runs-on: ubuntu-latest
4446
steps:
4547
- name: Check out code
46-
uses: actions/checkout@v6
48+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
49+
with:
50+
persist-credentials: false
4751
- name: Post coverage report
48-
uses: fgrosse/go-coverage-report@v1.3.0
52+
uses: fgrosse/go-coverage-report@cbeb2ab2e32591d690337146ba02a911cc566f3f # v1.3.0
4953
with:
5054
coverage-artifact-name: code-coverage
5155
coverage-file-name: cover.out
56+
root-package: github.com/sapcc/maintenance-controller
5257
permissions:
5358
actions: read
5459
contents: read
@@ -60,16 +65,18 @@ jobs:
6065
runs-on: ubuntu-latest
6166
steps:
6267
- name: Check out code
63-
uses: actions/checkout@v6
68+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
69+
with:
70+
persist-credentials: false
6471
- name: Set up Go
65-
uses: actions/setup-go@v6
72+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
6673
with:
6774
check-latest: true
6875
go-version: 1.26.3
6976
- name: Run tests and generate coverage report
7077
run: make build/cover.out
7178
- name: Archive code coverage results
72-
uses: actions/upload-artifact@v7
79+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
7380
with:
7481
name: code-coverage
7582
path: build/cover.out

.github/workflows/codeql.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,20 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Check out code
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
31+
with:
32+
persist-credentials: false
3133
- name: Set up Go
32-
uses: actions/setup-go@v6
34+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
3335
with:
3436
check-latest: true
3537
go-version: 1.26.3
3638
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v4
39+
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4
3840
with:
3941
languages: go
4042
queries: security-extended
4143
- name: Autobuild
42-
uses: github/codeql-action/autobuild@v4
44+
uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4
4345
- name: Perform CodeQL Analysis
44-
uses: github/codeql-action/analyze@v4
46+
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4

.github/workflows/container-registry-ghcr.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out code
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
with:
26+
persist-credentials: false
2527
- name: Log in to the Container registry
26-
uses: docker/login-action@v4
28+
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
2729
with:
2830
password: ${{ secrets.GITHUB_TOKEN }}
2931
registry: ghcr.io
3032
username: ${{ github.actor }}
3133
- name: Extract metadata (tags, labels) for Docker
3234
id: meta
33-
uses: docker/metadata-action@v6
35+
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
3436
with:
3537
images: ghcr.io/${{ github.repository }}
3638
tags: |
@@ -45,11 +47,11 @@ jobs:
4547
# https://github.com/docker/metadata-action#typesha
4648
type=sha,format=long
4749
- name: Set up QEMU
48-
uses: docker/setup-qemu-action@v4
50+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
4951
- name: Set up Docker Buildx
50-
uses: docker/setup-buildx-action@v4
52+
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
5153
- name: Build and push Docker image
52-
uses: docker/build-push-action@v7
54+
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
5355
with:
5456
context: .
5557
labels: ${{ steps.meta.outputs.labels }}

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/onsi/gomega v1.40.0
1414
github.com/prometheus/client_golang v1.23.2
1515
github.com/prometheus/common v0.67.5
16-
github.com/sapcc/go-bits v0.0.0-20260514170017-1116652010c6
16+
github.com/sapcc/go-bits v0.0.0-20260528142640-88b87e0330e2
1717
github.com/sapcc/ucfgwrap v0.0.0-20221123134804-375b5fb88359
1818
github.com/slack-go/slack v0.17.3
1919
github.com/vmware/govmomi v0.52.0
@@ -64,12 +64,12 @@ require (
6464
go.yaml.in/yaml/v2 v2.4.3 // indirect
6565
go.yaml.in/yaml/v3 v3.0.4 // indirect
6666
golang.org/x/mod v0.35.0 // indirect
67-
golang.org/x/net v0.53.0 // indirect
67+
golang.org/x/net v0.55.0 // indirect
6868
golang.org/x/oauth2 v0.35.0 // indirect
6969
golang.org/x/sync v0.20.0 // indirect
70-
golang.org/x/sys v0.43.0 // indirect
71-
golang.org/x/term v0.42.0 // indirect
72-
golang.org/x/text v0.36.0 // indirect
70+
golang.org/x/sys v0.45.0 // indirect
71+
golang.org/x/term v0.43.0 // indirect
72+
golang.org/x/text v0.37.0 // indirect
7373
golang.org/x/time v0.15.0 // indirect
7474
golang.org/x/tools v0.44.0 // indirect
7575
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ github.com/prometheus/procfs v0.19.2 h1:zUMhqEW66Ex7OXIiDkll3tl9a1ZdilUOd/F6ZXw4
122122
github.com/prometheus/procfs v0.19.2/go.mod h1:M0aotyiemPhBCM0z5w87kL22CxfcH05ZpYlu+b4J7mw=
123123
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
124124
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
125-
github.com/sapcc/go-bits v0.0.0-20260514170017-1116652010c6 h1:bRY1m3Y58pt4CyFaqbF0TTt3/j+Ss6hc48t9L0GpFYQ=
126-
github.com/sapcc/go-bits v0.0.0-20260514170017-1116652010c6/go.mod h1:HlbUxBX5jObpd6owpG11w/RcnffZF0m0zLtsipqev48=
125+
github.com/sapcc/go-bits v0.0.0-20260528142640-88b87e0330e2 h1:QIDurUYOqDJ04NXK62lMr9SLG8Mipv8otL13Q8h3p/c=
126+
github.com/sapcc/go-bits v0.0.0-20260528142640-88b87e0330e2/go.mod h1:tlX0d8TvLgEikNWwFbB1SxnW0q/6XybpXjt8mr97Qzg=
127127
github.com/sapcc/ucfgwrap v0.0.0-20221123134804-375b5fb88359 h1:+WaEmX1MhwTnd4OzXPXPzzbY3HrX4BkpuoXkleKzo6M=
128128
github.com/sapcc/ucfgwrap v0.0.0-20221123134804-375b5fb88359/go.mod h1:Sffk+MtZYoSaWPfxl9d9ZFUJLxlesm8tfZPb9LkHCd4=
129129
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
@@ -169,18 +169,18 @@ go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
169169
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
170170
golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=
171171
golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU=
172-
golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
173-
golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
172+
golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
173+
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
174174
golang.org/x/oauth2 v0.35.0 h1:Mv2mzuHuZuY2+bkyWXIHMfhNdJAdwW3FuWeCPYN5GVQ=
175175
golang.org/x/oauth2 v0.35.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
176176
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
177177
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
178-
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
179-
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
180-
golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY=
181-
golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY=
182-
golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
183-
golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
178+
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
179+
golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
180+
golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4=
181+
golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk=
182+
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
183+
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
184184
golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
185185
golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
186186
golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c=

0 commit comments

Comments
 (0)