Skip to content

Commit 44c107d

Browse files
committed
Update go semver to use ~ range.
Only pins to go minor, rather than patch. Allows golang to be updated to latest patch, fixing CVEs blocking unit tests.
1 parent 96ce22d commit 44c107d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [ main ]
66

77
env:
8-
GO_VERSION: 1.19.2
8+
GO_VERSION: ~1.19.3
99
K8S_VERSION: v1.24.1
1010

1111
jobs:

.github/workflows/prometheus-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- observability/prometheus/rules/**/*.y*ml
88

99
env:
10-
GO_VERSION: 1.19.2
10+
GO_VERSION: ~1.19.2
1111

1212
jobs:
1313
rules:

0 commit comments

Comments
 (0)