Skip to content

Commit 21f6f10

Browse files
committed
feat: update tools versions
1 parent 62b7470 commit 21f6f10

File tree

8 files changed

+26
-27
lines changed

8 files changed

+26
-27
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"containerUser": "root",
55
"features": {
66
"ghcr.io/devcontainers/features/common-utils:2": {},
7-
"ghcr.io/devcontainers/features/go:1": {"version": "none", "golangciLintVersion": "1.58.1"}
7+
"ghcr.io/devcontainers/features/go:1": {"version": "none", "golangciLintVersion": "1.59.0"}
88
},
99
"runArgs": [
1010
"--cap-add=SYS_PTRACE",

.github/workflows/ci.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ on:
1414
- examples/**
1515

1616
env:
17-
GORELEASER_VERSION: v1.26.1
17+
GORELEASER_VERSION: v1.26.2
1818
jobs:
1919
lint:
2020
name: Lint Code
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout Repository
24-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
24+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2525
with:
2626
show-progress: false
2727
- name: Setup Golang
28-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
28+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2929
with:
3030
go-version-file: go.mod
3131
cache: false
@@ -54,11 +54,11 @@ jobs:
5454
runs-on: ${{ matrix.os }}
5555
steps:
5656
- name: Checkout Repository
57-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
57+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
5858
with:
5959
show-progress: false
6060
- name: Setup Golang
61-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
61+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
6262
with:
6363
go-version-file: go.mod
6464
- name: Run Test Coverage
@@ -73,15 +73,15 @@ jobs:
7373
if: github.event_name != 'push'
7474
steps:
7575
- name: Checkout Repository
76-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
76+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
7777
with:
7878
show-progress: false
7979
- name: Setup Golang
80-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
80+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
8181
with:
8282
go-version-file: go.mod
8383
- name: Setup Goreleaser
84-
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
84+
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
8585
with:
8686
version: ${{ env.GORELEASER_VERSION }}
8787
install-only: true
@@ -96,16 +96,16 @@ jobs:
9696
if: github.event_name == 'push'
9797
steps:
9898
- name: Checkout Repository
99-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
99+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
100100
with:
101101
show-progress: false
102102
fetch-depth: 0
103103
- name: Setup Golang
104-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
104+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
105105
with:
106106
go-version-file: go.mod
107107
- name: Setup Goreleaser
108-
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
108+
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
109109
with:
110110
version: ${{ env.GORELEASER_VERSION }}
111111
install-only: true
@@ -129,7 +129,7 @@ jobs:
129129
- publish-release
130130
steps:
131131
- name: Checkout Repository
132-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
132+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
133133
with:
134134
show-progress: false
135135
- name: Download Binaries
@@ -141,13 +141,13 @@ jobs:
141141
run: |
142142
find ./bin/{darwin,linux} -type f -exec chmod +x {} \;
143143
- name: Docker Login to GitHub Repository
144-
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
144+
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
145145
with:
146146
registry: ghcr.io
147147
username: ${{ github.repository_owner }}
148148
password: ${{ secrets.GITHUB_TOKEN }}
149149
- name: Docker Login to DockerHub
150-
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
150+
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
151151
with:
152152
username: ${{ secrets.BOT_DOCKER_USERNAME }}
153153
password: ${{ secrets.BOT_DOCKER_TOKEN }}

.github/workflows/codeql.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- cron: 0 5 * * 1 # Run every monday at 5 UTC
1717

1818
env:
19-
GORELEASER_VERSION: v1.26.1
19+
GORELEASER_VERSION: v1.26.2
2020

2121
jobs:
2222
codeql:
@@ -25,23 +25,23 @@ jobs:
2525
security-events: write
2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
28+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2929
with:
3030
show-progress: false
3131
- name: Setup Golang
32-
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
32+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
3333
with:
3434
go-version-file: go.mod
3535
- name: Setup Goreleaser
36-
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
36+
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
3737
with:
3838
version: ${{ env.GORELEASER_VERSION }}
3939
install-only: true
4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
41+
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7
4242
with:
4343
languages: go
4444
- name: Run Build
4545
run: make build
4646
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
47+
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7

.github/workflows/dependency-review.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Checkout Repository
20-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
20+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2121
with:
2222
show-progress: false
2323
- name: Dependency Review
24-
uses: actions/dependency-review-action@5bbc3ba658137598168acb2ab73b21c432dd411b # v4.2.5
24+
uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2
2525
with:
2626
fail-on-scope: runtime,development,unknown
2727
comment-summary-in-pr: on-failure

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ endif
4949

5050
# Set here the name of the package you want to build
5151
CMDNAME:= vab
52-
BUILD_PATH:= .
52+
BUILD_PATH:= ./cmd/vab
5353
CONFORMANCE_TEST_PATH:= $(PROJECT_DIR)/internal/e2e
5454
IS_LIBRARY:=
5555

pkg/validate/validate.go

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ func checkClusters(logger logger.LogInterface, group *v1alpha1.Group, groupName
155155
}
156156

157157
for _, cluster := range group.Clusters {
158-
cluster := cluster
159158
clusterName := cluster.Name
160159
if clusterName == "" {
161160
outString += fmt.Sprintf("[error][%s] missing cluster name in group: please specify a valid name for each cluster\n", groupName)

tools/GOLANGCI_LINT_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.58.1
1+
v1.59.0

tools/GORELEASER_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.26.1
1+
v1.26.2

0 commit comments

Comments
 (0)