Skip to content

Commit 0485dec

Browse files
committed
Add setup-go action to job test.
This should fix errors related to covdata tool, like this one: https://github.com/redhat-best-practices-for-k8s/certsuite-operator/actions/runs/17562681798/job/49882613661?pr=230#step:6:82
1 parent 8882022 commit 0485dec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pre-main.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,19 @@ jobs:
114114
removeDefaultStorageClass: true
115115
removeControlPlaneTaint: true
116116

117+
- name: Set up Go
118+
uses: actions/setup-go@v5
119+
with:
120+
go-version-file: go.mod
121+
117122
- name: Build operator
118123
run: ./scripts/ci/build.sh
119124

120125
- name: Install cert-manager to cluster
121126
run: |
122127
kubectl apply -f https://github.com/jetstack/cert-manager/releases/latest/download/cert-manager.yaml
123128
kubectl wait --for=condition=ready pod --all=true -n cert-manager --timeout=5m
124-
129+
125130
- name: Install consoleplugin CRD to cluster
126131
run: |
127132
kubectl apply -f https://raw.githubusercontent.com/openshift/api/master/console/v1/zz_generated.crd-manifests/90_consoleplugins-Default.crd.yaml

0 commit comments

Comments
 (0)