Skip to content

Commit

Permalink
First attempt using intel/cve-bin-tool-action to scan for CVE on push.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Aug 22, 2024
1 parent cc37a2a commit 02110c9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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

- # === Install Go ===
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

0 comments on commit 02110c9

Please sign in to comment.