Add workflow govulncheck to detect vulnerabilitied #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file adheres to the YAML5 style. | ||
{ | ||
"name": "Go", | ||
"on": ["push", "pull_request"], | ||
"jobs": { | ||
"build": { | ||
"name": "Build", | ||
"runs-on": "ubuntu-latest", | ||
"strategy": { | ||
"matrix": { | ||
"go": ["1.18.x","1.19.x","1.20.x","1.21.x","1.22.x"] | ||
}, | ||
}, | ||
"steps": [ | ||
{ | ||
"name": "Set up Go ${{ matrix.go }}", | ||
"uses": "actions/setup-go@v5", | ||
"with": {"go-version": "${{ matrix.go }}" }, | ||
"id": "go", | ||
"cache": "true", | ||
Check failure on line 20 in .github/workflows/go.yml GitHub Actions / GoInvalid workflow file
|
||
"cache-dependency-path": "**/go.sum", | ||
}, | ||
{"name": "Check out code into the Go module directory", "uses": "actions/checkout@v4"}, | ||
{"name": "Lint", "run": "make lint"}, | ||
{"name": "Test", "run": "make test"}, | ||
], | ||
}, | ||
}, | ||
} |