Enhancement: separate overview charts by analyzer scope #304
Workflow file for this run
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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| conflict-markers: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check tracked text files for merge conflict markers | |
| # The patterns are anchored to the start of the line, so this | |
| # script's own indented lines never match themselves. -I skips | |
| # binary files. | |
| run: | | |
| if git grep -I -nE '^(<<<<<<< |=======$|>>>>>>> )' -- .; then | |
| echo "::error::Merge conflict markers found in tracked files (see matches above)" | |
| exit 1 | |
| fi | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Freeze validation resolves the frozen evidence revision and the | |
| # release tag, so the full history and tags must be present. | |
| fetch-depth: 0 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - run: cargo fmt --check | |
| - run: cargo test | |
| - run: cargo run -- validate | |
| - run: cargo run -- validate-reports | |
| - run: cargo run -- generate-results --manifest reports/freeze.json --output-directory results --check | |
| site: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: docs | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: docs/package-lock.json | |
| - run: npm ci | |
| - run: npm test | |
| - run: npm run check | |
| - run: npm run build |