Skip to content

Commit 935b2e8

Browse files
Merge branch 'main' into rotation
2 parents 5f93f09 + 6c0fbc3 commit 935b2e8

39 files changed

+631
-918
lines changed

.github/workflows/chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-20.04
2020
steps:
2121
- name: Harden Runner
22-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
22+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2323
with:
2424
egress-policy: audit
2525
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.0.0

.github/workflows/codecov.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Harden Runner
17-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
17+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
1818
with:
1919
egress-policy: audit
2020

2121
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.0.0
22-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
22+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2323
with:
2424
go-version: "^1.20"
2525
- name: Run tests
2626
run: make go-test
27-
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e
27+
- uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303
2828
with:
2929
files: ./cover.out

.github/workflows/codeql.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121

2222
steps:
2323
- name: Harden Runner
24-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
24+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2525
with:
2626
egress-policy: audit
2727

2828
- name: Checkout repository
2929
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.0.0
3030

3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
32+
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
3333
with:
3434
languages: go
3535

3636
- name: Autobuild
37-
uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
37+
uses: github/codeql-action/autobuild@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
40+
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- name: Harden Runner
15-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
15+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
1616
with:
1717
egress-policy: audit
1818

.github/workflows/dependency-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
20+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2121
with:
2222
egress-policy: audit
2323

.github/workflows/e2e.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ permissions:
2525

2626
jobs:
2727
e2e-test:
28-
runs-on: ubuntu-20.04
28+
runs-on: ubuntu-22.04
2929
timeout-minutes: 20
3030
strategy:
3131
matrix:
32-
KUBERNETES_VERSION: ["v1.28.9", "v1.29.4", "v1.30.2"]
32+
KUBERNETES_VERSION: ["v1.30.10", "v1.31.6", "v1.32.3"]
3333
steps:
3434
- name: Harden Runner
35-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
35+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
3636
with:
3737
egress-policy: audit
3838
- name: Checkout
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Kind
4848
uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 # v0.5.0
4949
with:
50-
version: "v0.23.0"
50+
version: "v0.27.0"
5151
image: "kindest/node:${{ matrix.KUBERNETES_VERSION }}"
5252
- name: Test
5353
run: |

.github/workflows/markdown-link-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Harden Runner
25-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
25+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2626
with:
2727
egress-policy: audit
2828
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.0.0
29-
- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
29+
- uses: gaurav-nelson/github-action-markdown-link-check@1b916f2cf6c36510a6059943104e3c42ce6c16bc # v1.0.16
3030
with:
3131
# this will only show errors in the output
3232
use-quiet-mode: 'yes'

.github/workflows/scan-vulns.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
timeout-minutes: 15
2020
steps:
2121
- name: Harden Runner
22-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
22+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2323
with:
2424
egress-policy: audit
2525

26-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
26+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
2727
with:
2828
go-version: "1.21"
2929
check-latest: true

.github/workflows/scorecards.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Harden Runner
34-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
34+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
3535
with:
3636
egress-policy: audit
3737

@@ -63,14 +63,14 @@ jobs:
6363
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6464
# format to the repository Actions tab.
6565
- name: "Upload artifact"
66-
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
66+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
6767
with:
6868
name: SARIF file
6969
path: results.sarif
7070
retention-days: 5
7171

7272
# Upload the results to GitHub's code scanning dashboard.
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
74+
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
7575
with:
7676
sarif_file: results.sarif

.golangci.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
run:
22
timeout: 5m
3-
go: "1.20"
4-
skip-files:
5-
- "zz_generated.*\\.go$"
6-
- "pkg/util/fileutil/atomic_writer.go"
7-
- "pkg/util/fileutil/atomic_writer_test.go"
3+
go: "1.23"
84

95
linters-settings:
106
gocritic:
@@ -14,14 +10,12 @@ linters-settings:
1410
line-length: 200
1511
misspell:
1612
locale: US
17-
staticcheck:
18-
go: "1.20"
1913

2014
linters:
2115
disable-all: true
2216
enable:
17+
- copyloopvar
2318
- durationcheck
24-
- exportloopref
2519
- errcheck
2620
- errorlint
2721
- exhaustive
@@ -47,12 +41,19 @@ linters:
4741
fast: true
4842

4943
issues:
50-
# default: 50
44+
exclude-files:
45+
- "zz_generated.*\\.go$"
46+
- "pkg/util/fileutil/atomic_writer.go"
47+
- "pkg/util/fileutil/atomic_writer_test.go"
5148
max-issues-per-linter: 0
5249
exclude-rules:
5350
- text: "unused-parameter: parameter '.*' seems to be unused, consider removing or renaming it as _"
5451
linters:
5552
- revive
53+
- text: "dot-imports: should not use dot imports"
54+
linters:
55+
- revive
56+
source: ". \"github.com/onsi/(ginkgo/v2|gomega)\""
5657

5758
# default: 3
5859
max-same-issues: 0

0 commit comments

Comments
 (0)