diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml new file mode 100644 index 0000000000..2163eac4de --- /dev/null +++ b/.github/workflows/scan.yml @@ -0,0 +1,26 @@ +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