Fix Gitea Actions workflow syntax - use actions/checkout@v4 and actions/release-action@v1
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-01 05:19:28 +00:00
parent 5fa51445ed
commit bb93ef2a8d

View File

@@ -11,34 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install -e ".[dev]"
python -m pip install --upgrade pip
pip install -e .
pip install pytest
- name: Run tests
run: pytest tests/ -v
- name: Run tests with coverage
run: pytest tests/ --cov=json_to_openapi --cov-report=term-missing
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install linting tools
run: pip install ruff
- name: Run ruff
run: ruff check .
run: |
python -m pytest tests/ -v