36 lines
693 B
YAML
36 lines
693 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.11", "3.13"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: pip
|
|
|
|
- name: Install test dependencies
|
|
run: python -m pip install -r requirements-dev.txt
|
|
|
|
- name: Run release gate
|
|
run: PATH="$PWD/.venv/bin:$PATH" ./tools/check-local.sh
|
|
|
|
- name: Scan Git objects
|
|
run: ./tools/check-secrets.py --history
|