Avoid the YAML parsing mistake
authorAlexander Popov <alex.popov@linux.com>
Thu, 8 Dec 2022 22:38:05 +0000 (01:38 +0300)
committerAlexander Popov <alex.popov@linux.com>
Thu, 8 Dec 2022 22:38:05 +0000 (01:38 +0300)
3.10 is parsed as a number and it is trimmed to 3.1.
That is expected behavior for numbers, but it's crazy for versions.

.github/workflows/main.yml

index 5f35f8bdae3297bcd4065c47a1cbfd541a06d2f3..192c3299f7f4c33132a242c4419a112b4c0bad27 100644 (file)
@@ -16,7 +16,7 @@ jobs:
       fail-fast: false
       matrix:
         # Current ubuntu-latest (Ubuntu 22.04) provides the following versions of Python:
-        python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
+        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
 
     steps: