Inform user of unsupported old version (#134)

Versions older than v0.0.247 do not have binaries in the GitHub releases
This commit is contained in:
Kevin Stillhammer
2025-05-07 15:28:39 +02:00
committed by GitHub
parent b259b0b299
commit ea12b8ac41
4 changed files with 30 additions and 0 deletions
+17
View File
@@ -51,6 +51,22 @@ jobs:
with:
version: ${{ matrix.ruff-version }}
src: __tests__/fixtures/python-project
test-unsupported-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Try install old version
id: install
continue-on-error: true
uses: ./
with:
version: v0.0.246
src: __tests__/fixtures/python-project
- name: Check if the action failed
run: |
if [ ${{ steps.install.outcome }} == "success" ]; then
exit 1
fi
test-version-from-version-file-pyproject:
runs-on: ubuntu-latest
steps:
@@ -272,6 +288,7 @@ jobs:
- lint
- test-latest-version
- test-specific-version
- test-unsupported-version
- test-version-from-version-file-pyproject
- test-default-version-from-pyproject
- test-default-version-from-pyproject-dev-group