Skip to content

Commit 6dc2bd7

Browse files
authored
Merge branch 'main' into remove_aggfuncs_constraint
2 parents 27fccf3 + 72ac99a commit 6dc2bd7

File tree

3 files changed

+97
-89
lines changed

3 files changed

+97
-89
lines changed

.github/workflows/code_checks.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,22 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v4.1.1
30-
- name: Install poetry
31-
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
30+
- name: Install and configure Poetry
31+
uses: snok/install-poetry@v1
32+
with:
33+
virtualenvs-create: true
34+
virtualenvs-in-project: true
3235
- uses: actions/setup-python@v5.0.0
3336
with:
3437
python-version: '3.10'
3538
cache: 'poetry'
3639
- name: Install dependencies and check code
3740
run: |
3841
poetry env use '3.10'
39-
source $(poetry env info --path)/bin/activate
42+
source .venv/bin/activate
4043
poetry install --with test --all-extras
4144
pre-commit run --all-files
45+
- name: pip-audit (gh-action-pip-audit)
46+
uses: pypa/gh-action-pip-audit@v1.0.8
47+
with:
48+
virtual-environment: .venv/

0 commit comments

Comments
 (0)