CI #195
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: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: # to allow manual re-runs | |
jobs: | |
linting: | |
name: "Perform linting checks" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: Install poetry | |
run: pipx install poetry==1.8.2 | |
- uses: "actions/[email protected]" | |
id: setup-python | |
with: | |
python-version: "${{ matrix.python-version }}" | |
cache: 'poetry' | |
- name: "Install dependencies" | |
run: | | |
poetry install | |
- name: Check Poetry Python version | |
run: poetry env info |