diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..d0d6901 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,19 @@ +name: flake8 linter + +on: [push, pull_request] + +jobs: + flake8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9.7' + + - name: Install dependencies and run flake8 + run: | + python -m pip install --upgrade pip + python -m pip install flake8 + flake8