build(deps-dev): bump commitizen from 3.29.0 to 3.31.0 #214
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: New pull request received | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
check: | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry invoke | |
inv env.init-dev --no-pre-commit | |
- name: Style check | |
run: | | |
inv style | |
- name: Check vulnerability | |
run: | | |
inv secure | |
- name: Run tests | |
run: | | |
poetry run tox |