mirror: linter that suggest using alternative string/[]byte functions #5172
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
name: Extra | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
vulns: | |
name: Vulnerability scanner | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
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.20' | |
- name: Run go list | |
run: go list -json -m all > go.list | |
- name: Nancy | |
uses: sonatype-nexus-community/[email protected] |