Skip to content

Commit 95086ea

Browse files
committed
ci.yml Use quotes around python versions
version 3.10 was interpreted as 3.1. Per actions/setup-python#160 use quotes around versions to get around yaml limitation
1 parent 76b5bb9 commit 95086ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest]
13-
python: [3.8, 3.9, 3.10, 3.11, 3.12]
13+
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
1414
include:
1515
- os: macos-latest
16-
python: 3.12
16+
python: '3.12'
1717
- os: windows-latest
18-
python: 3.12
18+
python: '3.12'
1919

2020
runs-on: ${{ matrix.os }}
2121

@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python 3.12
4646
uses: actions/setup-python@v1
4747
with:
48-
python: 3.12
48+
python: '3.12'
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)