mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-13 05:00:14 +02: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
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install version 0.11.11
|
||||
- name: Install version 0.9.10
|
||||
id: ruff-action
|
||||
uses: ./
|
||||
with:
|
||||
version: ">=0.11.10,<0.12.0"
|
||||
version: ">=0.9.9,<0.10.0"
|
||||
src: __tests__/fixtures/python-project
|
||||
- name: Correct version gets installed
|
||||
run: |
|
||||
if [ "$RUFF_VERSION" != "0.11.11" ]; then
|
||||
if [ "$RUFF_VERSION" != "0.9.10" ]; then
|
||||
exit 1
|
||||
fi
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user