github.com/minio/madmin-go/v2@v2.2.1/.github/workflows/vulncheck.yml (about) 1 name: VulnCheck 2 on: 3 pull_request: 4 branches: 5 - master 6 - main 7 push: 8 branches: 9 - master 10 - main 11 jobs: 12 vulncheck: 13 name: Analysis 14 runs-on: ubuntu-latest 15 strategy: 16 matrix: 17 go-version: [ 1.19.x, 1.20.x ] 18 steps: 19 - name: Check out code into the Go module directory 20 uses: actions/checkout@v3 21 - uses: actions/setup-go@v3 22 with: 23 go-version: ${{ matrix.go-version }} 24 check-latest: true 25 - name: Get govulncheck 26 run: go install golang.org/x/vuln/cmd/govulncheck@latest 27 shell: bash 28 - name: Run govulncheck 29 run: govulncheck ./... 30 shell: bash