Skip to content

Require Python >=3.11 #12

Require Python >=3.11

Require Python >=3.11 #12

on: [push, pull_request]

Check failure on line 1 in .github/workflows/continuous-integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/continuous-integration.yml

Invalid workflow file

The workflow is not valid. .github/workflows/continuous-integration.yml: Anchors are not currently supported. Remove the anchor 'setup-python'
jobs:
build-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- &setup-python uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: python -m venv .venv
- run: .venv/bin/pip install build
- run: .venv/bin/python -m build --sdist
- uses: actions/upload-artifact@v3
with:
name: sdist
path: dist/videojitter-*.tar.gz
if-no-files-found: error
build-wheel:
runs-on: ubuntu-latest
needs: build-sdist
steps:
- uses: actions/download-artifact@v3
with:
name: sdist
- run: tar --gzip --extract --verbose --strip-components=1 --file videojitter-*.tar.gz
- *setup-python
- run: python -m venv .venv
- run: .venv/bin/pip install build
- run: .venv/bin/python -m build --wheel
- uses: actions/upload-artifact@v3
with:
name: wheel
path: dist/videojitter-*.whl
if-no-files-found: error
pylint:
runs-on: ubuntu-latest
needs: build-sdist
steps:
- uses: actions/download-artifact@v3
with:
name: sdist
- *setup-python
- run: tar --gzip --extract --verbose --strip-components=1 --file videojitter-*.tar.gz
- run: python -m venv .venv
- run: .venv/bin/pip install --requirement pylint-requirements.txt --requirement requirements.txt
- run: .venv/bin/pylint --verbose src videojitter_test