Skip to content

Commit

Permalink
Merge pull request #184 from Nitrokey/pyproject-lock-file-check
Browse files Browse the repository at this point in the history
Add pyproject.toml check to CI pipeline
  • Loading branch information
mmerklinger authored Dec 12, 2023
2 parents d6c1c6b + d9ec8d1 commit 93e54c5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ on:
pull_request:

jobs:
pyproject-lock-file-check:
name: Check pyproject syntax
runs-on: ubuntu-latest
container: python:3.9-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install required packages
run: pip install poetry
- name: Check pyproject.toml syntax and consistency with poetry.lock
run: poetry check
format-code:
name: Check code format
runs-on: ubuntu-latest
Expand Down

0 comments on commit 93e54c5

Please sign in to comment.