Skip to content

Commit e033e37

Browse files
committed
go.mod: Bump required Go version to 1.18
Commit 564b6fc introduced calls to strings.Cut, added in Go 1.18. The fuzz testing also requires 1.18 but that will at least not affect users of the module. Also updating the CI configuration to actually test the Go version we claim to support.
1 parent 936a4ac commit e033e37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.19.x, 1.20.x]
7+
go-version: [1.18.x, 1.19.x, 1.20.x]
88
os: [ubuntu-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/package-url/packageurl-go
22

3-
go 1.17
3+
go 1.18

0 commit comments

Comments
 (0)