minio/.github/workflows/vulncheck.yml

27 lines
605 B
YAML
Raw Normal View History

name: VulnCheck
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
vulncheck:
name: Analysis
runs-on: ubuntu-latest
steps:
2022-09-12 23:16:39 -04:00
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
2022-09-12 23:16:39 -04:00
with:
2022-10-06 15:42:21 -04:00
go-version: 1.19.2
2022-09-12 23:16:39 -04:00
check-latest: true
- name: Get official govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: Run govulncheck
run: govulncheck ./...
shell: bash