diff --git a/.github/workflows/poetry-check.yaml b/.github/workflows/poetry-check.yaml new file mode 100644 index 00000000..c7ad2d3d --- /dev/null +++ b/.github/workflows/poetry-check.yaml @@ -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 \ No newline at end of file