build(deps): bump github/codeql-action/init from 3.37.0 to 4.37.8 #41
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| node: | |
| name: Node ${{ matrix.node }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [20, 22, 24] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - name: Install locked dependencies without lifecycle scripts | |
| run: npm ci --ignore-scripts | |
| - name: Run Node checks | |
| run: npm run check | |
| - name: Lint Markdown | |
| run: npm run lint:markdown | |
| - name: Audit runtime dependencies | |
| run: npm audit --audit-level=moderate | |
| - name: Inspect package contents | |
| run: npm pack --dry-run | |
| python: | |
| name: Python ${{ matrix.python }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: ["3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| cache: pip | |
| - name: Install project and test tools | |
| run: python -m pip install '.[dev]' | |
| - name: Lint | |
| run: ruff check . | |
| - name: Check formatting | |
| run: ruff format --check . | |
| - name: Test | |
| run: python -m pytest | |
| - name: Build wheel | |
| run: python -m pip wheel . --no-deps --wheel-dir /tmp/remote-ssh-tunnel-wheel | |
| dependency-audit: | |
| name: Python Dependency Audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| - name: Install pip-audit | |
| run: python -m pip install pip-audit==2.10.1 | |
| - name: Audit locked runtime requirement | |
| run: pip-audit --strict --progress-spinner=off --cache-dir /tmp/pip-audit-cache --requirement requirements.txt | |
| metadata: | |
| name: Repository Metadata | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out full history | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Validate repository contracts | |
| run: python scripts/validate_repository.py | |
| - name: Lint GitHub Actions workflows | |
| run: | | |
| go install github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 | |
| "$(go env GOPATH)/bin/actionlint" | |
| - name: Check whitespace | |
| run: git diff --check HEAD^ |