Skip to content

Commit

Permalink
go.mod: Bump required Go version to 1.18
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
magnusbaeck committed Oct 9, 2023
1 parent 936a4ac commit e033e37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
go-version: [1.18.x, 1.19.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/package-url/packageurl-go

go 1.17
go 1.18

0 comments on commit e033e37

Please sign in to comment.