[pre-commit.ci] pre-commit autoupdate #407
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: ${{ matrix.os }}-python${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
os: | |
- macos-latest | |
- ubuntu-latest | |
steps: | |
- name: Checkout build | |
id: checkout-build | |
uses: actions/checkout@v4 | |
- name: Install Poetry | |
id: install-poetry | |
run: pipx install poetry | |
- name: Setup Python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: poetry | |
- name: Install Python Packages | |
id: install-python-packages | |
run: poetry install | |
- name: Audit | |
id: audit | |
run: poetry run pyaud audit | |
- name: Upload coverage | |
id: upload-coverage | |
uses: codecov/codecov-action@v4 |