Skip to content

Commit

Permalink
chore: require go 1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed Aug 1, 2024
1 parent 62944ca commit 936ae58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.18'
go-version: '1.20'
- name: Run tests
run: make test
- name: Send coverage report to coveralls
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ format:

.PHONY: unit
unit:
go test -v -covermode=count -coverprofile=profile.cov ./...
go test -v -covermode=count -coverprofile=profile.cov.tmp ./...
cat profile.cov.tmp | grep -v v3_0/model.go > profile.cov # ignore generated model file

.PHONY: fuzz
fuzz:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/spdx/tools-golang

go 1.18
go 1.20

require (
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092
Expand Down

0 comments on commit 936ae58

Please sign in to comment.