Skip to content

added version check

added version check #3

name: Version check
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
version:

Check failure on line 11 in .github/workflows/actions_version_check.yaml

View workflow run for this annotation

GitHub Actions / Version check

Invalid workflow file

The workflow is not valid. .github/workflows/actions_version_check.yaml (Line: 11, Col: 7): Unexpected value 'version' .github/workflows/actions_version_check.yaml (Line: 15, Col: 15): Unrecognized named-value: 'version'. Located at position 1 within expression: version.python-version
python-version: ["3.4","3.5", "3.6", 3.7, 3.8, 3.9, 3.10, 3.11, 3.12]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ version.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ version.python-version }}
- name: Run tests
run: |
python -m unittest discover tests