From 8298df6662e4aab229fb5cd142d50e7194648c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 31 Jan 2024 15:46:20 +0100 Subject: [PATCH] Sync with WeblateOrg/meta --- .github/workflows/pre-commit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7e3cb6d7..722e6d53 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -39,7 +39,10 @@ jobs: if [ -f requirements-lint.txt ] ; then pip install -r requirements-lint.txt else - pip install -e .[lint] + pip install $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml) fi - name: pre-commit run: pre-commit run --all + - name: diff + run: git diff + if: always()