Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,23 +122,8 @@ jobs:
INTENTPROOF_SPEC_ROOT: ${{ github.workspace }}/intentproof-spec
run: pytest tests/unit/test_spec_golden_conformance.py -v

audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # was `@v6`

- uses: ./.github/actions/setup-python-pip
with:
python-version: "3.x"
check-latest: true

- name: Install project (dev extras)
run: pip install -e ".[dev]"

- name: pip-audit
run: pip-audit

tox:
name: tox (${{ matrix.tox-env }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -147,6 +132,9 @@ jobs:
- tox-env: static
python-version: "3.x"
check-latest: true
- tox-env: audit
python-version: "3.x"
check-latest: true
- tox-env: cov
python-version: "3.x"
check-latest: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conformance-attestation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:
exit 1
fi

- name: SDK quality gates (tox static + cov)
- name: SDK quality gates (tox static + audit + cov)
env:
INTENTPROOF_SPEC_ROOT: ${{ github.workspace }}/intentproof-spec
run: tox run -e static,cov
run: tox run -e static,audit,cov

- name: Set up Node.js for spec oracle
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # was `@v6`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
script: |
const requiredExact = ["no-handwritten-model-types", "hardening", "intentproof-spec", "spec-golden-parity"];
const requiredPrefixes = ["tox (static", "tox (cov"];
const requiredPrefixes = ["tox (static", "tox (audit", "tox (cov"];
const { owner, repo } = context.repo;
const ref = context.sha;
const runs = await github.paginate(github.rest.checks.listForRef, {
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
env_list =
static
audit
cov
py311
py312
Expand Down