minio/.github/workflows/vulncheck.yml

31 lines
658 B
YAML
Raw Normal View History

name: VulnCheck
on:
pull_request:
branches:
- master
2023-12-06 04:09:22 -05:00
push:
branches:
- master
permissions:
contents: read # to fetch code (actions/checkout)
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
2024-03-28 19:44:49 -04:00
uses: actions/checkout@v4
- name: Set up Go
2024-03-28 19:44:49 -04:00
uses: actions/setup-go@v5
2022-09-12 23:16:39 -04:00
with:
2024-07-02 17:33:21 -04:00
go-version: 1.22.5
- name: Get official govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
- name: Run govulncheck
run: govulncheck -show verbose ./...
shell: bash