File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414 - " main"
1515
1616jobs :
17+ settings :
18+ runs-on : " ubuntu-latest"
19+ name : " Define workflow settings"
20+ outputs :
21+ default-python-version : " 3.12"
22+
1723 run-tests-and-coverage :
1824 name : " Run pytest with coverage."
1925 runs-on : " ${{ matrix.os }}"
6874 - name : " Set up Python"
6975 uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
7076 with :
71- python-version : " 3.12 "
77+ python-version : " ${{ needs.settings.outputs.default-python-version }} "
7278
7379 - name : " Install nox"
7480 run : |
97103 - name : " Set up Python"
98104 uses : " actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
99105 with :
100- python-version : " 3.12 "
106+ python-version : " ${{ needs.settings.outputs.default-python-version }} "
101107
102108 - name : " Install nox"
103109 run : |
You can’t perform that action at this time.
0 commit comments