Skip to content

Commit

Permalink
Introduce a CI step to validate dependency locks
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Dec 20, 2023
1 parent f56d419 commit 0a5c925
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,26 @@ jobs:
- name: Lint
run: |
poetry run flake8 . --jobs=auto --format=github
validate-dependencies:
name: Check dependency locks
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Set up Poetry
uses: abatilo/actions-poetry@v2.1.5
with:
poetry-version: 1.3.2

- uses: PeterJCLaw/validate-generated-files@v1
with:
command: poetry lock --no-update
files: poetry.lock

0 comments on commit 0a5c925

Please sign in to comment.