feat: fledge spec lint β quality gate for the spec itself (#429) #45
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: trust | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| trust: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: CorvidLabs Trust gate | |
| id: trust | |
| uses: CorvidLabs/trust@887c7d74828cc0c7e2f620bdd0325ac8ca9250d1 # v1.1.2 | |
| - name: Check managed agent rules | |
| run: | | |
| grep -q "CorvidLabs trust toolchain: BEGIN" AGENTS.md | |
| grep -q "CorvidLabs trust toolchain: END" AGENTS.md |