github.com/minio/mc@v0.0.0-20240503112107-b471de8d1882/.github/workflows/vulncheck.yml (about) 1 name: VulnCheck 2 on: 3 pull_request: 4 branches: 5 - master 6 push: 7 branches: 8 - master 9 jobs: 10 vulncheck: 11 name: Analysis 12 runs-on: ubuntu-latest 13 steps: 14 - name: Check out code into the Go module directory 15 uses: actions/checkout@v4 16 - name: Set up Go 17 uses: actions/setup-go@v5 18 with: 19 go-version: 1.21.9 20 check-latest: true 21 - name: Get official govulncheck 22 run: go install golang.org/x/vuln/cmd/govulncheck@latest 23 shell: bash 24 - name: Run govulncheck 25 run: govulncheck ./... 26 shell: bash