Skip to content

fix(security): pin 8 action refs to SHAs and add a token permissions floor #195

fix(security): pin 8 action refs to SHAs and add a token permissions floor

fix(security): pin 8 action refs to SHAs and add a token permissions floor #195

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install package and test deps
run: pip install -e ".[test]"
- name: Level 0 conformance (schema + structural)
run: python -m pytest -v -m "level0 or negative" --tb=short
- name: Unit tests (modules and CLI)
run: python -m pytest tests/unit/ -v --tb=short
- name: Full suite
run: python -m pytest -v --tb=short