From 30597b70f00e39e6f93c9f5ebffd961234062b67 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Wed, 6 Oct 2021 09:38:21 +0200 Subject: [PATCH] Quote version numbers in GitHub Actions workflow Otherwise, YAML treats `python: 3.10` as a float, yielding Python 3.1. --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 863dec4b..ee08c25d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,17 +16,17 @@ jobs: matrix: config: - os: ubuntu - python: 3.6 + python: "3.6" - os: ubuntu - python: 3.7 + python: "3.7" - os: ubuntu - python: 3.8 + python: "3.8" - os: ubuntu - python: 3.9 + python: "3.9" - os: macos - python: 3.7 + python: "3.7" - os: windows - python: 3.7 + python: "3.7" steps: - uses: actions/checkout@v2 @@ -86,7 +86,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: "3.7" - name: Set pip cache (Linux) uses: actions/cache@v2 if: startsWith(runner.os, 'Linux') @@ -110,7 +110,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: "3.7" - name: Set pip cache (Linux) uses: actions/cache@v2 if: startsWith(runner.os, 'Linux') @@ -136,7 +136,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: "3.7" - name: Check release id: check_release run: |