First attempt using intel/cve-bin-tool-action to scan for CVE on push. #4
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: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Install State Tool | |
uses: ActiveState/setup-state-tool@v1 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22.x | |
- uses: intel/cve-bin-tool-action@main | |
with: | |
build_command: state run preprocess && state run build |