Browse Source

pipeline: fix missing `matrix.python-version` variable in "code-format" job

https://github.com/fphammerle/ical2vdir/commit/c62635bda1838ca9a103947ab4533d41e9ba74c5
https://github.com/fphammerle/python-manchester-code/commit/5c1a5ab7a4b96faecf02fe1eb266d367d70f37fd
Fabian Peter Hammerle 2 years ago
parent
commit
b066bcc864
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/workflows/python.yml

+ 4 - 1
.github/workflows/python.yml

@@ -15,11 +15,14 @@ on:
 jobs:
   code-format:
     runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        python-verison: ['3.9']
     steps:
     - uses: actions/checkout@v2.3.4
     - uses: actions/setup-python@v2.2.2
       with:
-        python-version: '3.9'
+        python-version: ${{ matrix.python-version }}
     - run: pip install --upgrade pipenv==2020.8.13
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env: