File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,26 +35,26 @@ jobs:
3535 id : pep735
3636 run : |
3737 if grep -q dependency-groups pyproject.toml ; then
38- echo "found=true " >> $GITHUB_OUTPUT
38+ echo "found=1 " >> $GITHUB_OUTPUT
3939 else
40- echo "found=false " >> $GITHUB_OUTPUT
40+ echo "found=0 " >> $GITHUB_OUTPUT
4141 fi
4242 - name : pre-commit
43- if : ${{ steps.pep735.outputs.found }}
43+ if : ${{ steps.pep735.outputs.found == 1 }}
4444 run : uv run --only-group pre-commit pre-commit run --all
4545 env :
4646 RUFF_OUTPUT_FORMAT : github
4747 REUSE_OUTPUT_FORMAT : github
4848 - name : Install dependencies
49- if : ${{ ! steps.pep735.outputs.found }}
49+ if : ${{ steps.pep735.outputs.found == 0 }}
5050 run : |
5151 if [ -f requirements-lint.txt ] ; then
5252 uv pip install --system -r requirements-lint.txt
5353 else
5454 uv pip install --system $(sed -n 's/.*"\(pre-commit==\([^"]*\)\)".*/\1/p' pyproject.toml)
5555 fi
5656 - name : pre-commit
57- if : ${{ ! steps.pep735.outputs.found }}
57+ if : ${{ steps.pep735.outputs.found == 0 }}
5858 run : pre-commit run --all
5959 env :
6060 RUFF_OUTPUT_FORMAT : github
You can’t perform that action at this time.
0 commit comments