Harden P0 security and release boundaries

This commit is contained in:
agessaman
2026-07-16 10:21:50 -07:00
parent 614bf81fe1
commit 9ae9ebb327
43 changed files with 4649 additions and 1466 deletions
+28 -1
View File
@@ -106,13 +106,40 @@ jobs:
- name: mypy — strict overrides on typed modules
run: mypy modules/ --ignore-missing-imports
package:
name: Build and smoke-test distributions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Build wheel and source distribution
run: |
python -m pip install --upgrade pip build twine
python -m build
python -m twine check dist/*
- name: Install and smoke-test wheel outside the source tree
run: |
python -m venv /tmp/meshcore-wheel-smoke
/tmp/meshcore-wheel-smoke/bin/pip install dist/*.whl
cd /tmp
/tmp/meshcore-wheel-smoke/bin/python "$GITHUB_WORKSPACE/scripts/smoke_test_wheel.py"
/tmp/meshcore-wheel-smoke/bin/meshcore-bot --help >/dev/null
/tmp/meshcore-wheel-smoke/bin/meshcore-viewer --help >/dev/null
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4