Skip to content

Commit

Permalink
fix: silent errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 5, 2024
1 parent 36b878e commit cb746b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
- name: detect method
id: detect
run: |
if -f requirements-lint.txt ; then
if test -f requirements-lint.txt ; then
echo "method=requirements" >> $GITHUB_OUTPUT
elif -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
elif test -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
echo "method=pep735" >> $GITHUB_OUTPUT
elif -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
elif test -f pyproject.toml && grep -q dependency-groups pyproject.toml ; then
echo "method=pyproject" >> $GITHUB_OUTPUT
else
echo "method=uvx" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit cb746b6

Please sign in to comment.