Update build_and_publish.yml #13
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: isort/isort-action@master | |
with: | |
requirementsFiles: "requirements.txt requirements.dev.txt" | |
- name: Check flake8 | |
run: python -m flake8 --max-line-length=150 . |