File tree Expand file tree Collapse file tree 10 files changed +69
-21
lines changed Expand file tree Collapse file tree 10 files changed +69
-21
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
version : 2
2
3
updates :
3
4
- package-ecosystem : gomod
@@ -17,6 +18,11 @@ updates:
17
18
# Ignore k8s and its transitives modules as they are upgraded manually
18
19
# together with controller-runtime.
19
20
- dependency-name : " k8s.io/*"
21
+ groups :
22
+ all :
23
+ update-types :
24
+ - " minor"
25
+ - " patch"
20
26
21
27
- package-ecosystem : " docker"
22
28
directory : " /"
@@ -26,3 +32,23 @@ updates:
26
32
- " area/dependency"
27
33
- " release-note-none"
28
34
- " ok-to-test"
35
+ groups :
36
+ all :
37
+ update-types :
38
+ - " minor"
39
+ - " patch"
40
+
41
+ - package-ecosystem : " github-actions"
42
+ directory : " /"
43
+ schedule :
44
+ interval : daily
45
+ open-pull-requests-limit : 10
46
+ labels :
47
+ - " area/dependency"
48
+ - " release-note-none"
49
+ - " ok-to-test"
50
+ groups :
51
+ all :
52
+ update-types :
53
+ - " minor"
54
+ - " patch"
Original file line number Diff line number Diff line change 1
1
# Helps catch spelling errors
2
2
name : Codespell
3
- on : [ pull_request ]
3
+
4
+ on :
5
+ pull_request :
4
6
5
7
jobs :
6
8
codespell :
7
9
runs-on : ubuntu-latest
8
10
steps :
9
- - uses : actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v2.5.0
10
- - uses : codespell-project/actions-codespell@22ff5a2e4b591290baf82d47c9feadac31c65441 # v1.0
11
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
12
+
13
+ - uses : codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461 # v2.0
11
14
with :
12
15
skip : .git,_artifacts,*.sum
13
16
ignore_words_file : .codespellignore
Original file line number Diff line number Diff line change 1
1
# add public code coverage reports
2
+ name : coverage
3
+
2
4
on :
3
5
push :
4
6
branches :
5
7
- main
8
+
6
9
jobs :
7
10
coverage :
8
11
runs-on : ubuntu-latest
9
12
steps :
10
- - uses : actions/checkout@master
13
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14
+
11
15
- run : " make test-cover"
12
- - uses : codecov/codecov-action@v2
13
- with :
14
- file : ./coverage.out
15
- fail_ci_if_error : true
16
+
17
+ - uses : codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
18
+ with :
19
+ file : ./coverage.out
20
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 1
1
# Check for broken links
2
2
name : Link-check
3
+
3
4
on :
4
5
push :
5
6
paths :
8
9
- main
9
10
pull_request :
10
11
paths : " docs/**"
12
+
11
13
jobs :
12
14
lint_docs :
13
15
name : Broken Links
14
16
runs-on : ubuntu-latest
17
+
15
18
steps :
16
- - uses : actions/checkout@v2
17
- - uses : gaurav-nelson/github-action-markdown-link-check@v1
19
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20
+
21
+ - uses : gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15
18
22
with :
19
23
use-quiet-mode : ' yes'
20
24
config-file : " .markdownlinkcheck.json"
Original file line number Diff line number Diff line change 1
1
name : Lint
2
- on : [pull_request]
2
+
3
+ on :
4
+ pull_request :
3
5
4
6
permissions :
5
7
contents : read
8
10
golangci :
9
11
name : lint
10
12
runs-on : ubuntu-latest
13
+
11
14
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-go@v4
15
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
16
+
17
+ - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
14
18
with :
15
19
go-version : " 1.21"
16
20
check-latest : true
17
21
cache : false
22
+
18
23
- name : golangci-lint
19
- uses : golangci/golangci-lint-action@v3
24
+ uses : golangci/golangci-lint-action3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
20
25
with :
21
- version : " v1.55"
26
+ timeout : 10m
27
+ version : v1.57
Original file line number Diff line number Diff line change 11
11
jobs :
12
12
approve :
13
13
name : Approve ok-to-test
14
+
14
15
if : contains(github.event.pull_request.labels.*.name, 'ok-to-test')
16
+
15
17
runs-on : ubuntu-latest
18
+
16
19
permissions :
17
20
actions : write
21
+
18
22
steps :
19
23
- name : Update PR
20
- uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4 .1
24
+ uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0 .1
21
25
continue-on-error : true
22
26
with :
23
27
github-token : ${{ secrets.GITHUB_TOKEN }}
37
41
repo: context.repo.repo,
38
42
run_id: run.id
39
43
});
40
- }
44
+ }
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
# Build the manager binary
16
- FROM golang:1.21.7 @sha256:549dd88a1a53715f177b41ab5fee25f7a376a6bb5322ac7abe263480d9554021 as builder
16
+ FROM golang:1.21.9 @sha256:ff6cfbd291c157a5b67e121b050e80a646a88b55de5c489a5c07acb9528a1feb as builder
17
17
WORKDIR /workspace
18
18
19
19
# Run this with docker build --build_arg $(go env GOPROXY) to override the goproxy
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ endif
140
140
# Build time versioning details.
141
141
LDFLAGS := $(shell hack/version.sh)
142
142
143
- GOLANG_VERSION := 1.21.6
143
+ GOLANG_VERSION := 1.21.9
144
144
145
145
# CI
146
146
CAPG_WORKER_CLUSTER_KUBECONFIG ?= "/tmp/kubeconfig"
Original file line number Diff line number Diff line change 1
1
module sigs.k8s.io/cluster-api-provider-gcp/hack/tools
2
2
3
- go 1.21.7
3
+ go 1.21.9
4
4
5
5
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.6.2
6
6
Original file line number Diff line number Diff line change 4
4
publish = " docs/book/book"
5
5
6
6
[build .environment ]
7
- GO_VERSION = " 1.21.7 "
7
+ GO_VERSION = " 1.21.9 "
8
8
9
9
# Standard Netlify redirects
10
10
[[redirects ]]
You can’t perform that action at this time.
0 commit comments