Skip to content

Commit ddc53a0

Browse files
author
Ryan Lymburner
committed
Update action to setup-go@v4
1 parent 3587de4 commit ddc53a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/validate-pull-request-presubmit.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
python-version: '3.11'
1515
cache: 'pip'
1616
- run: pip install -r requirements.txt
17-
- uses: actions/setup-go@v3
17+
- uses: actions/setup-go@v4
1818
with:
1919
go-version: ${{ env.GO_VERSION }}
20+
cache: false
2021
check-latest: true
2122
- uses: actions/cache@v4
2223
with:

pkg/k8s/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func ValidateStandaloneAnnotation(obj client.Object) (bool, error) {
171171
} else if lowerValue == "false" {
172172
return false, nil
173173
}
174-
174+
175175
// Invalid values are treated as false but we report the validation error
176176
return false, fmt.Errorf("invalid standalone annotation value '%s', expected 'true' or 'false'", trimmed)
177177
}

0 commit comments

Comments
 (0)