Skip to content

Commit 7b85661

Browse files
authored
chore: add govulncheck and bump Go to 1.20 (#523)
* chore: add govulncheck Signed-off-by: Radoslav Dimitrov <[email protected]> * chore: bump go version 1.20 Signed-off-by: Radoslav Dimitrov <[email protected]> --------- Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent 8efd6cd commit 7b85661

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ jobs:
5151
flag-name: Go-${{ matrix.go-version }}
5252
parallel: true
5353

54-
golangci:
54+
checks:
5555
strategy:
5656
matrix:
5757
go-version: ${{ fromJSON(needs.get-go-versions.outputs.matrix) }}
58-
os: [ubuntu-latest, macos-latest, windows-latest]
59-
runs-on: ${{ matrix.os }}
58+
runs-on: ubuntu-latest
6059
needs: get-go-versions
6160
steps:
6261
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
@@ -68,3 +67,8 @@ jobs:
6867
with:
6968
version: v1.51 # has to be pinned and thus manually updated due to https://github.com/golangci/golangci-lint-action/blob/6a290f7d5d488e1e423b0b37fe802c822ca2c08c/README.md?plain=1#L108
7069
args: --timeout 5m --verbose
70+
- name: govulncheck
71+
uses: golang/govulncheck-action@v1
72+
with:
73+
go-version-input: ${{ matrix.go-version }}
74+
go-package: ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/theupdateframework/go-tuf
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
github.com/dustin/go-humanize v1.0.1

0 commit comments

Comments
 (0)