Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Apr 24, 2024
1 parent d24ddd8 commit c08d0cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ jobs:
# are always out of sync.
#
# [1] https://github.com/dependabot/dependabot-core/issues/1524
ruff_version=$(grep -E -A1 'astral-sh/ruff-pre-commit' \
.pre-commit-config.yaml | sed -nre "s/^\s+rev:.+'v([0-9\.]+)'/\1/p")
echo ">>>>>>> pwd: $(pwd)"
echo ">>>>>>> ls -l: $(ls -l)"
ruff_version=$(grep -E -A1 'astral-sh/ruff-pre-commit' .pre-commit-config.yaml | sed -nre "s/^\s+rev:.+'v([0-9\.]+)'/\1/p")
[ -n "$ruff_version" ] || echo "error parsing ruff version" && exit 1
pip install "ruff==$ruff_version"
Expand Down

0 comments on commit c08d0cc

Please sign in to comment.