mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-22 14:50:47 +00:00
Fix test-pep440-version-specifier (#165)
It makes no sense to expect a deterministic test when minor versions for 0.11.x are still getting released
This commit is contained in:
committed by
GitHub
parent
6228face02
commit
110a15d08b
@@ -212,15 +212,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install version 0.11.11
|
- name: Install version 0.9.10
|
||||||
id: ruff-action
|
id: ruff-action
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: ">=0.11.10,<0.12.0"
|
version: ">=0.9.9,<0.10.0"
|
||||||
src: __tests__/fixtures/python-project
|
src: __tests__/fixtures/python-project
|
||||||
- name: Correct version gets installed
|
- name: Correct version gets installed
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUFF_VERSION" != "0.11.11" ]; then
|
if [ "$RUFF_VERSION" != "0.9.10" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user