Skip to content

Commit

Permalink
trying something different [7]
Browse files Browse the repository at this point in the history
  • Loading branch information
lotif committed Feb 22, 2024
1 parent 86c2774 commit 13daf20
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Install poetry
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- uses: actions/setup-python@v5.0.0
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies and check code
run: |
poetry env use '3.10'
poetry config virtualenvs.path ./venv/
source .venv/bin/activate
poetry install --with test --all-extras
source ./venv/bin/activate
pre-commit run --all-files
- name: pip-audit (gh-action-pip-audit)
uses: pypa/gh-action-pip-audit@v1.0.8
with:
virtual-environment: ./venv/
virtual-environment: .venv/

0 comments on commit 13daf20

Please sign in to comment.