diff options
| author | 2022-07-09 22:01:48 +0100 | |
|---|---|---|
| committer | 2022-07-09 22:02:45 +0100 | |
| commit | 93bbed12c6cc80f102b5ec432d09b5fe20eff923 (patch) | |
| tree | afbe99d3293a0236fbaa99ea5e9f0e5dce5fa353 | |
| parent | Add a simple status cog (diff) | |
Update lint workflow to use python 3.9
| -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 | 
