add build and govulncheck actions

This commit is contained in:
Ben McClelland
2023-05-28 15:01:14 -07:00
parent 93212ccce9
commit 130bb4b013

View File

@@ -23,5 +23,16 @@ jobs:
run: |
go get -v -t -d ./...
- name: Build
run: go build -o versitygw cmd/versitygw/*.go
- name: Test
run: go test -v -timeout 30s -tags=github ./...
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: Run govulncheck
run: govulncheck ./...
shell: bash