From e6a11accdaf8ba9b425446e749c5cfb9868a6c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Wed, 3 Jul 2024 20:07:15 -0700 Subject: [PATCH] Add check-lockfile workflow --- .github/workflows/check-lockfile.yml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/check-lockfile.yml diff --git a/.github/workflows/check-lockfile.yml b/.github/workflows/check-lockfile.yml new file mode 100644 index 00000000..a41382f2 --- /dev/null +++ b/.github/workflows/check-lockfile.yml @@ -0,0 +1,35 @@ +name: Check lockfile + +on: + push: + paths-ignore: + - 'docs/**' + - '**/*.md' + pull_request: + paths-ignore: + - 'docs/**' + - '**/*.md' + +jobs: + check-lockfile: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + cache: 'pip' + + - name: Install poetry + run: | + pipx install poetry + + - name: Check lockfile + run: | + poetry check --lock