From c08d0cc35635dd364e92d0e2e73fd17f3ea7954d Mon Sep 17 00:00:00 2001 From: Steve Schmerler Date: Wed, 24 Apr 2024 23:20:48 +0200 Subject: [PATCH] WIP --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"