feat: use problem matchers for GitHub Action format (#4685) #191
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
name: Extra | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
vulns: | |
name: Vulnerability scanner | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
# https://github.com/actions/setup-go#supported-version-syntax | |
# ex: | |
# - 1.18beta1 -> 1.18.0-beta.1 | |
# - 1.18rc1 -> 1.18.0-rc.1 | |
go-version: '1.22' | |
- name: Run go list | |
run: go list -json -m all > go.list | |
- name: Nancy | |
uses: sonatype-nexus-community/[email protected] |