Merge pull request #570 from memeLab/dependabot/pip/django-4.2.16 #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependencies pipeline | |
on: | |
push: | |
paths: | |
- 'pyproject.toml' | |
jobs: | |
dependencies: | |
name: test / dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code from Github | |
uses: actions/checkout@v3 | |
- name: Check diff | |
id: diff_lock | |
run: | | |
echo "::set-output name=dependencies::$(git diff --name-only | grep poetry.lock -c)" | |
- name: Check poetry lock | |
if: ${{ steps.diff_lock.outputs.dependencies == 0 }} | |
run: exit 1 |