Merge pull request #1 from zcubbs/dependabot/go_modules/golang.org/x/… #55
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: Scan | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
- '.github/**' | |
- 'LICENSE' | |
- 'Taskfile.yaml' | |
- '.gitignore' | |
- '.gosec.config.json' | |
- '.editorconfig' | |
- '.goreleaser.yaml' | |
- 'examples/**' | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.21' | |
- name: Install Task | |
uses: arduino/[email protected] | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Security Scanner | |
run: task tools:install:gosec | |
- name: Run Go Security Scanner | |
run: task scan |