1414jobs :
1515 tests :
1616 if : startsWith(github.ref, 'refs/tags/v')
17- runs-on : ${{ matrix.os }}
18- strategy :
19- matrix :
20- python-version : [ "3.13" ]
21- os : [ ubuntu-latest ]
17+ runs-on : ubuntu-latest
2218 steps :
2319 - uses : actions/checkout@v5
2420 with :
2521 ref : ${{ github.event.workflow_run.head_branch }}
2622 token : ${{ secrets.XML_SUBMODULE_PAT }} # token with repo scope; expires never
2723 # https://github.com/Hochfrequenz/xml-fundamend-python/settings/secrets/actions/XML_AHB_MIG_Token
2824 submodules : " recursive"
29- - name : Set up Python ${{ matrix.python-version }}
25+ - name : Set up Python
3026 uses : actions/setup-python@v6
3127 with :
32- python-version : ${{ matrix.python-version }}
28+ python-version : " 3.14 "
3329 - name : Install tox
3430 run : |
3531 python -m pip install --upgrade pip
@@ -40,24 +36,20 @@ jobs:
4036
4137 build-n-publish :
4238 name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
43- runs-on : ${{ matrix.os }}
44- strategy :
45- matrix :
46- python-version : [ "3.13" ]
47- os : [ ubuntu-latest ]
48- # Specifying a GitHub environment, # Specifying a GitHub environment, which is strongly recommended by
49- # PyPI: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
50- # you have to create an environment in your repository settings and add the environment name here
39+ runs-on : ubuntu-latest
40+ # Specifying a GitHub environment, # Specifying a GitHub environment, which is strongly recommended by
41+ # PyPI: https://docs.pypi.org/trusted-publishers/adding-a-publisher/
42+ # you have to create an environment in your repository settings and add the environment name here
5143 environment : release
5244 permissions :
5345 id-token : write
5446 needs : tests
5547 steps :
5648 - uses : actions/checkout@v5
57- - name : Set up Python ${{ matrix.python-version }}
49+ - name : Set up Python
5850 uses : actions/setup-python@v6
5951 with :
60- python-version : ${{ matrix.python-version }}
52+ python-version : " 3.14 "
6153 - name : Install dependencies
6254 run : |
6355 python -m pip install --upgrade pip
0 commit comments