mirror of
https://github.com/minio/minio.git
synced 2024-12-26 15:15:55 -05:00
31 lines
658 B
YAML
31 lines
658 B
YAML
name: VulnCheck
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
vulncheck:
|
|
name: Analysis
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.23.2
|
|
- 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
|