mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-12 20:50:14 +02:00
Fix CI: Pin ruff version to stable 0.13.x in test fixture (#305)
The test was using ruff>=0.14 which is under active development, causing failures as new versions like 0.14.13 are released. This changes the fixture to use ruff>=0.13 (where 0.13.3 is the final release) and updates the expected version in the test accordingly.
This commit is contained in:
committed by
GitHub
parent
deb632007b
commit
fde82cb611
@@ -174,7 +174,8 @@ jobs:
|
|||||||
version-file: __tests__/fixtures/pyproject-dependency-groups-with-env-marker/pyproject.toml
|
version-file: __tests__/fixtures/pyproject-dependency-groups-with-env-marker/pyproject.toml
|
||||||
- name: Correct version gets installed
|
- name: Correct version gets installed
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUFF_VERSION" != "0.14.11" ]; then
|
if [ "$RUFF_VERSION" != "0.13.3" ]; then
|
||||||
|
echo "Expected version 0.13.3 but got $RUFF_VERSION"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ requires-python = ">=3.12"
|
|||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"ruff>=0.14 ; python_version >= '3.11'",
|
"ruff~=0.13 ; python_version >= '3.11'",
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|||||||
Reference in New Issue
Block a user