Skip to content

Commit

Permalink
Use env
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Nov 12, 2023
1 parent 98ef500 commit f634acf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
run: poetry install --no-interaction --no-root --extras dev
- name: Get file diff
id: diff-files
uses: markgilbert-git/[email protected]
Expand All @@ -50,8 +50,9 @@ jobs:
'${{ steps.diff-files.outputs.files_added }}\n${{ steps.diff-files.outputs.files_modified }}'
| grep '\.py' | tr '\n' ' '
)" >> $GITHUB_OUTPUT
- name: Install
run: poetry install --no-interaction --extras dev
- name: Activate env
run: |
source .venv/bin/activate
- name: Check code formatting
run: black . --check
- name: Check spelling
Expand Down

0 comments on commit f634acf

Please sign in to comment.