diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c348ba..a5ffdfc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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"