Merge pull request #170 from Rulrn/issue_133 #315
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: linters | |
on: | |
push: | |
branches: [main] | |
tags: v* | |
pull_request: | |
jobs: | |
run_linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
- name: Prepare project for development | |
run: | | |
python -m pip install poetry | |
python -m poetry install | |
- name: Run linters | |
run: | | |
python -m poetry run invoke lint |