Skip to content

Fix output

Fix output #4

Workflow file for this run

name: release
on:
push:
branches: [ main ]
jobs:
test:
uses: ./.github/workflows/emulator-test.yml
release:
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install
run: |
python -m pip install -U pip
python -m pip install .
python -m pip install build python-semantic-release pip-audit
- name: Build and verify
run: |
python -m build
twine check dist/* || true
- name: Security audit
run: |
pip-audit -r requirements.txt || true
- name: Semantic Release (version, tag, GitHub release, PyPI)
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: semantic-release publish