Fixed lint issues #727
Workflow file for this run
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: Linter | |
on: [pull_request] | |
jobs: | |
check: | |
name: ${{ matrix.check }} check | |
runs-on: blacksmith-4vcpu-ubuntu-2204 | |
strategy: | |
matrix: | |
check: [lint, mypy] | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Install apt packages | |
run: | | |
sudo apt update | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1.4.1 | |
- name: Install CI dependencies | |
run: | | |
poetry config virtualenvs.create false | |
poetry install --only ci | |
- name: Run check | |
run: tox -e ${{ matrix.check }} |