File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : " Verify"
2
2
description : " Verify code"
3
3
inputs :
4
+ GO_VERSION :
5
+ description : Go version to use
6
+ default : " ~1.23"
7
+ required : false
8
+
4
9
ENABLE_LINTING :
5
10
description : Run golangci-lint
6
11
default : " true"
@@ -13,6 +18,12 @@ inputs:
13
18
runs :
14
19
using : " composite"
15
20
steps :
21
+ - name : Set up Go
22
+ id : go
23
+ uses : actions/setup-go@v5
24
+ with :
25
+ go-version : ${{ inputs.GO_VERSION }}
26
+
16
27
- name : Run lint
17
28
if : ${{ inputs.ENABLE_LINTING == 'true' }}
18
29
shell : bash
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Operator PR Request
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
+ GO_VERSION :
7
+ description : Go version to use
8
+ default : " ~1.23"
9
+ required : false
10
+ type : string
11
+
6
12
ENABLE_LINTING :
7
13
description : Run golangci-lint
8
14
default : true
56
62
id : verify
57
63
uses : ./.github/actions/verify
58
64
with :
65
+ GO_VERSION : ${{ inputs.GO_VERSION }}
59
66
ENABLE_LINTING : ${{ inputs.ENABLE_LINTING }}
60
67
ENABLE_UNIT_TESTS : ${{ inputs.ENABLE_UNIT_TESTS }}
61
68
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Operator Push
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
+ GO_VERSION :
7
+ description : Go version to use
8
+ default : " ~1.23"
9
+ required : false
10
+ type : string
11
+
6
12
ENABLE_LINTING :
7
13
description : Run golangci-lint
8
14
default : true
56
62
id : verify
57
63
uses : ./.github/actions/verify
58
64
with :
65
+ GO_VERSION : ${{ inputs.GO_VERSION }}
59
66
ENABLE_LINTING : ${{ inputs.ENABLE_LINTING }}
60
67
ENABLE_UNIT_TESTS : ${{ inputs.ENABLE_UNIT_TESTS }}
61
68
Original file line number Diff line number Diff line change 22
22
CONTAINER_REGISTRY_PASSWORD : ${{ secrets.GHCR_TOKEN }}
23
23
SLACK_WEBHOOK_URL : ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
24
24
with :
25
+ GO_VERSION : 1.23.6
25
26
ENABLE_LINTING : true
26
27
ENABLE_UNIT_TESTS : true
Original file line number Diff line number Diff line change 22
22
CONTAINER_REGISTRY_USERNAME : stakater-user
23
23
CONTAINER_REGISTRY_PASSWORD : ${{ secrets.GHCR_TOKEN }}
24
24
with :
25
+ GO_VERSION : 1.23.6
25
26
ENABLE_LINTING : true
26
27
ENABLE_UNIT_TESTS : true
You can’t perform that action at this time.
0 commit comments