diff options
| -rw-r--r-- | .github/workflows/lint.yml | 14 | 
1 files changed, 6 insertions, 8 deletions
| diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7f21e65..bbd4fa0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,14 +18,12 @@ jobs:      - name: Checkout branch        uses: actions/checkout@v2 -    - name: Setup Python -      uses: actions/setup-python@v2 - -    - name: Install Poetry and project dependencies -      uses: knowsuchagency/poetry-install@v2 - -    - name: Setup flake8 annotations -      uses: rbialon/flake8-annotations@v1 +    - name: Install Python Dependencies +      uses: HassanAbouelela/actions/setup-python@setup-python_v1.1.0 +      with: +        # Set dev=true to install flake8 extensions, which are dev dependencies +        dev: true +        python_version: 3.9      - name: Lint code with Flake8        run: poetry run flake8 . --count --show-source --statistics | 
