fix(ci): make the assayward gate actually run after a release #42
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 projects | |
| - name: E2E pipeline (examples/hono-app) | |
| run: | | |
| ./bin/forgeseal pipeline \ | |
| --dir ./examples/hono-app \ | |
| --output-dir ./e2e-output/hono-app \ | |
| --sign=false \ | |
| --attest=false \ | |
| --vex-triage | |
| - name: E2E pipeline (examples/go-app) | |
| run: | | |
| ./bin/forgeseal pipeline \ | |
| --dir ./examples/go-app \ | |
| --output-dir ./e2e-output/go-app \ | |
| --sign=false \ | |
| --attest=false \ | |
| --vex-triage | |
| - name: E2E pipeline (examples/rust-app) | |
| run: | | |
| ./bin/forgeseal pipeline \ | |
| --dir ./examples/rust-app \ | |
| --output-dir ./e2e-output/rust-app \ | |
| --sign=false \ | |
| --attest=false \ | |
| --vex-triage | |
| - name: E2E pipeline (examples/gradle-app) | |
| run: | | |
| ./bin/forgeseal pipeline \ | |
| --dir ./examples/gradle-app \ | |
| --output-dir ./e2e-output/gradle-app \ | |
| --sign=false \ | |
| --attest=false \ | |
| --vex-triage | |
| - name: Verify E2E output | |
| run: | | |
| for app in hono-app go-app rust-app gradle-app; do | |
| test -f "./e2e-output/$app/sbom.cdx.json" || (echo "SBOM not generated for $app" && exit 1) | |
| test -f "./e2e-output/$app/vex.json" || (echo "VEX not generated for $app" && exit 1) | |
| done | |
| echo "E2E pipelines passed for all example apps" |