Skip to content

build(deps): bump actions/setup-python from 5.6.0 to 7.0.0 #45

build(deps): bump actions/setup-python from 5.6.0 to 7.0.0

build(deps): bump actions/setup-python from 5.6.0 to 7.0.0 #45

Workflow file for this run

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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
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^