Skip to content

Commit

Permalink
feat: run poetry lock --check during the build (#175)
Browse files Browse the repository at this point in the history
* feat: run poetry lock --check during the build

* chore: add .gitignore
  • Loading branch information
artemrys authored Sep 6, 2023
1 parent e00aba2 commit 365ab8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ jobs:
then
echo " poetry.lock found "
sudo pip3 install poetry==1.2.2 poetry-plugin-export==1.2.0
poetry lock --check
poetry export --without-hashes -o requirements.txt
if [ "$(grep -cve '^\s*$' requirements.txt)" -ne 0 ]
then
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
actionlint

0 comments on commit 365ab8c

Please sign in to comment.