Skip to content

feat: more updates to the canary implementation #5

feat: more updates to the canary implementation

feat: more updates to the canary implementation #5

Workflow file for this run

name: canary

Check failure on line 1 in .github/workflows/canary.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/canary.yml

Invalid workflow file

(Line: 23, Col: 1): 'name' is already defined, (Line: 24, Col: 1): 'on' is already defined, (Line: 25, Col: 1): 'jobs' is already defined
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: '1.25' }
- name: Build scanner
run: go build -o ./bin/canary ./tools/canary
- name: Generate status
run: ./bin/canary --root . --out status.json --csv status.csv
- name: Self-verify
run: ./bin/canary --root tools/canary --verify GAP_ANALYSIS.md --strict
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: canary-status
path: |
status.json
status.csv
name: canary
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build scanner
run: go build -o ./bin/canary ./cmd/canary
- name: Generate status
run: ./bin/canary scan --root . --out status.json --csv status.csv
- name: Self-verify
run: ./bin/canary verify --root . --gap docs/GAP_ANALYSIS.md --strict || true
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: canary-status
path: |
status.json
status.csv