Skip to content

Commit

Permalink
Adds github action to check lockfile
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Zepeda Mas <[email protected]>
  • Loading branch information
chentex committed Jan 26, 2024
1 parent 2ce30ec commit 3488f89
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/poetry-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check poetry lockfile
on: [ pull_request ]

jobs:
build:
name: Check poetry lockfile
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: Gr1N/setup-poetry@v8
- name: verify poetry instalation
run: poetry --version
working-directory: ./backend
- name: verify poetry lockfile
run: poetry check --lock
working-directory: ./backend

0 comments on commit 3488f89

Please sign in to comment.