Skip to content

lint and release only python version defined in var, ci builds for la… #6

lint and release only python version defined in var, ci builds for la…

lint and release only python version defined in var, ci builds for la… #6

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# build for (last 5) major supported versions to ensure compatibility to some degree,
# but really recommended, linted and deployed is only the latest

Check failure on line 15 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
python-version: ["3.8", "3.9", "3.10", "3.11", ${{ vars.PYTHON_VERSION }}]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install .