Use DEFAULT_PYTHON variable
@@ -3,6 +3,9 @@ name: flake8 Lint
on:
- pull_request
+env:
+ DEFAULT_PYTHON: 3.7
+
jobs:
flake8-lint:
runs-on: ubuntu-latest
@@ -13,7 +16,7 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v3
with:
- python-version: "3.7"
+ python-version: ${{ env.DEFAULT_PYTHON }}
- name: flake8 Lint
uses: py-actions/flake8@v2
