Hello, I use actions to test the project on python, I used to do it through github, but when I transferred to gitea and add to actions:
uses: https:/github.com/actions/setup-python@v4 with: python-version: "3.11"
I have a mistake:
The version ‘3.11’ with architecture ‘x64’ was not found for this operating system. %0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/mainversions-manifest.json
Whole YML file:
name: Lint and check types on: [push, pull_request] jobs: build: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Set up Python 3.11 uses: https://github.com/actions/setup-python@v4 with: python-version: "3.11" - name: Install poetry run: | pip install pipx pipx install poetry - name: Validate the structure of the pyproject.toml run: | poetry check - name: Verify that poetry.lock is consistent with pyproject.toml run: | poetry lock --check - name: Install dependencies run: | poetry install - name: Check code formatting by black run: | poetry run black . --check - name: Lint code by ruff run: | poetry run ruff . - name: Check types by pyright run: | poetry run pyright