File tree 9 files changed +42
-28
lines changed
9 files changed +42
-28
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,27 @@ updates:
4
4
- package-ecosystem : gomod
5
5
directory : /
6
6
schedule :
7
- interval : daily
7
+ interval : weekly
8
+ groups :
9
+ dev-dependencies :
10
+ dependency-type : " development"
11
+ prod-dependencies :
12
+ dependency-type : " production"
8
13
- package-ecosystem : github-actions
9
14
directory : /
10
15
schedule :
11
16
interval : daily
12
- - package-ecosystem : docker
17
+ groups :
18
+ dev-dependencies :
19
+ dependency-type : " development"
20
+ prod-dependencies :
21
+ dependency-type : " production"
22
+ - package-ecosystem : weekly
13
23
directory : /
14
24
schedule :
15
- interval : daily
25
+ interval : weekly
26
+ groups :
27
+ dev-dependencies :
28
+ dependency-type : " development"
29
+ prod-dependencies :
30
+ dependency-type : " production"
Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ jobs:
18
18
SHELL : /bin/bash
19
19
20
20
steps :
21
- - name : Set up Go 1.23
21
+ - name : Check out code into the Go module directory
22
+ uses : actions/checkout@v4
23
+ with :
24
+ ref : ${{ github.sha }}
25
+
26
+ - name : Set up Go
22
27
uses : actions/setup-go@v5
23
28
with :
24
- go-version : 1.23.6
29
+ go-version-file : go.mod
25
30
26
31
- name : Disable default go problem matcher
27
32
run : echo "::remove-matcher owner=go::"
28
33
29
- - name : Check out code into the Go module directory
30
- uses : actions/checkout@v4
31
- with :
32
- ref : ${{ github.sha }}
33
-
34
34
- name : Extract dependent Pull Requests
35
35
uses : depends-on/depends-on-action@main
36
36
with :
47
47
- name : Golangci-lint
48
48
uses : golangci/golangci-lint-action@v6
49
49
with :
50
- version : v1.63
50
+ version : v1.64
51
51
args : --timeout 10m0s
52
52
53
53
- name : Checkmake
Original file line number Diff line number Diff line change @@ -61,10 +61,15 @@ jobs:
61
61
username : ${{ secrets.QUAY_ROBOT_USERNAME }}
62
62
password : ${{ secrets.QUAY_ROBOT_TOKEN }}
63
63
64
- - name : Set up Go 1.23
64
+ - name : Check out the repo.
65
+ uses : actions/checkout@v4
66
+ with :
67
+ ref : ${{ github.ref_name }}
68
+
69
+ - name : Set up Go
65
70
uses : actions/setup-go@v5
66
71
with :
67
- go-version : 1.23.6
72
+ go-version-file : go.mod
68
73
69
74
- name : Disable default go problem matcher
70
75
run : echo "::remove-matcher owner=go::"
80
85
sudo mv ${OPERATOR_SDK_BIN} ${OPERATOR_SDK_DEST_FOLDER}/operator-sdk
81
86
operator-sdk version
82
87
83
- - name : Check out the repo.
84
- uses : actions/checkout@v4
85
- with :
86
- ref : ${{ github.ref_name }}
87
-
88
88
- name : Build and push sidecar app image
89
89
run : docker build --no-cache -t "${SIDECAR_IMG}" -f certsuite-sidecar/Dockerfile . && docker push ${SIDECAR_IMG}
90
90
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ linters:
46
46
- dogsled
47
47
- errcheck
48
48
- exhaustive
49
- - exportloopref
49
+ - copyloopvar
50
50
- funlen
51
51
- goconst
52
52
- gocritic
@@ -85,7 +85,6 @@ linters:
85
85
# - nestif
86
86
# - noctx
87
87
# - prealloc
88
- # - exportloopref
89
88
# - structcheck
90
89
# - testpackage
91
90
# - wsl
@@ -111,6 +110,6 @@ issues:
111
110
# golangci.com configuration
112
111
# https://github.com/golangci/golangci/wiki/Configuration
113
112
service :
114
- golangci-lint-version : 1.63 .x # use the fixed version to not introduce new linters unexpectedly
113
+ golangci-lint-version : 1.64 .x # use the fixed version to not introduce new linters unexpectedly
115
114
prepare :
116
115
- echo "here I can run custom commands, but no preparation needed for this repo"
Original file line number Diff line number Diff line change 1
1
# Build the manager binary
2
- FROM mirror.gcr.io/library/golang:1.23 AS builder
2
+ FROM mirror.gcr.io/library/golang:1.24 AS builder
3
3
ARG TARGETOS
4
4
ARG TARGETARCH
5
5
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ test-e2e:
124
124
go test ./test/e2e/ -v -ginkgo.v
125
125
126
126
GOLANGCI_LINT = $(shell pwd) /bin/golangci-lint
127
- GOLANGCI_LINT_VERSION ?= v1.63.4
127
+ GOLANGCI_LINT_VERSION ?= v1.64.5
128
128
golangci-lint :
129
129
@[ -f $( GOLANGCI_LINT) ] || { \
130
130
set -e ; \
@@ -300,7 +300,7 @@ ifeq (,$(shell which opm 2>/dev/null))
300
300
set -e ;\
301
301
mkdir -p $(dir $(OPM)) ;\
302
302
OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
303
- curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23 .0/$${OS}-$${ARCH}-opm ;\
303
+ curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.24 .0/$${OS}-$${ARCH}-opm ;\
304
304
chmod +x $(OPM) ;\
305
305
}
306
306
else
Original file line number Diff line number Diff line change 16
16
# Install Go binary and set the PATH
17
17
ENV \
18
18
GO_DL_URL=https://golang.org/dl \
19
- GO_BIN_TAR=go1.23.6 .linux-amd64.tar.gz \
19
+ GO_BIN_TAR=go1.24.0 .linux-amd64.tar.gz \
20
20
GOPATH=/root/go
21
21
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/${GO_BIN_TAR}
22
22
RUN \
Original file line number Diff line number Diff line change 1
1
module github.com/redhat-best-practices-for-k8s/certsuite-operator
2
2
3
- go 1.23.6
3
+ go 1.24.0
4
4
5
5
require (
6
6
github.com/go-logr/logr v1.4.2
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ echo "$crJson" | jq
60
60
61
61
# Run checks for verdict and counters.
62
62
export EXPECTED_VERDICT=${EXPECTED_VERDICT:- " pass" }
63
- export EXPECTED_TOTAL_TCS=${EXPECTED_TOTAL_TCS:- " 100 " }
63
+ export EXPECTED_TOTAL_TCS=${EXPECTED_TOTAL_TCS:- " 101 " }
64
64
export EXPECTED_FAILED=${EXPECTED_FAILED:- " 0" }
65
65
export EXPECTED_PASSED=${EXPECTED_PASSED:- " 5" }
66
- export EXPECTED_SKIPPED=${EXPECTED_SKIPPED:- " 95 " }
66
+ export EXPECTED_SKIPPED=${EXPECTED_SKIPPED:- " 96 " }
67
67
68
68
# Check the verdit is pass
69
69
echo " $crJson " | jq ' if .status.report.verdict == env.EXPECTED_VERDICT then "verdict is "+env.EXPECTED_VERDICT else error("verdict mismatch: \(.status.report.verdict), expected "+env.EXPECTED_VERDICT) end'
You can’t perform that action at this time.
0 commit comments