Bump up version #60
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: CI | |
on: push | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
poetry-version: ["1.8.5"] | |
os: ["ubuntu-22.04", "macos-latest", "windows-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
run: pip install poetry==${{ matrix.poetry-version }} | |
- name: View poetry --help | |
run: poetry --help | |
- name: Run poetry install | |
run: poetry install | |
- name: lint | |
run: poetry run ruff check . | |
- name: format check | |
run: poetry run black --check . | |
- name: sort-check | |
run: poetry run isort --check-only . | |
- name: test | |
run: poetry run pytest | |
- name: security-audit | |
run: poetry run pip-audit | |