Classify vulnerabilities by severity using CVSS scores from OSV.dev (#4) #8
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23' | |
| - name: Build | |
| run: make build | |
| - name: Test | |
| run: make test | |
| # End-to-end: run full pipeline against reference project | |
| - name: E2E pipeline (examples/hono-app) | |
| run: | | |
| ./bin/forgeseal pipeline \ | |
| --dir ./examples/hono-app \ | |
| --output-dir ./e2e-output \ | |
| --sign=false \ | |
| --attest=false \ | |
| --vex-triage | |
| - name: Verify E2E output | |
| run: | | |
| test -f ./e2e-output/sbom.cdx.json || (echo "SBOM not generated" && exit 1) | |
| test -f ./e2e-output/vex.json || (echo "VEX not generated" && exit 1) | |
| echo "E2E pipeline passed" |