@@ -13,27 +13,27 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v5
1717 - name : Set up Python
18- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v6
1919 with :
20- python-version : 3.13
20+ python-version : " 3.14 "
2121 - name : Installation (deps and package)
2222 run : pip install .
23- - uses : pre-commit/action@v2 .0.0
23+ - uses : pre-commit/action@v3 .0.1
2424
2525 tests :
2626 runs-on : ${{ matrix.os }}
2727 strategy :
2828 matrix :
29- python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
29+ python-version : ['3.10', 3.11, 3.12, 3.13, 3.14 ]
3030 os : [ubuntu-latest, windows-latest]
3131
3232 steps :
33- - uses : actions/checkout@v3
33+ - uses : actions/checkout@v5
3434
3535 - name : Set up Python ${{ matrix.python-version }}
36- uses : actions/setup-python@v4
36+ uses : actions/setup-python@v6
3737 with :
3838 python-version : ${{ matrix.python-version }}
3939
4949 pytest --cov=mdformat_pyproject --cov-report=xml --cov-report=term-missing
5050
5151 - name : Store PR number and commit SHA
52- if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
52+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
5353 run : |
5454 echo "Storing PR number ${{ github.event.number }}"
5555 echo "${{ github.event.number }}" > pr_number.txt
@@ -63,14 +63,14 @@ jobs:
6363 # Triggered sub-workflow is not able to detect the original commit/PR which is available
6464 # in this workflow.
6565 - name : Store PR number
66- if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
66+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
6767 uses : actions/upload-artifact@v4
6868 with :
6969 name : pr_number
7070 path : pr_number.txt
7171
7272 - name : Store commit SHA
73- if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
73+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
7474 uses : actions/upload-artifact@v4
7575 with :
7676 name : commit_sha
8080 # is executed by a different workflow `coverage-report.yml`. The reason for this
8181 # split is because `on.pull_request` workflows don't have access to secrets.
8282 - name : Store coverage report in artifacts
83- if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
83+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
8484 uses : actions/upload-artifact@v4
8585 with :
8686 name : codecov_report
@@ -89,17 +89,17 @@ jobs:
8989 - run : |
9090 echo "The coverage report was stored in Github artifacts."
9191 echo "It will be uploaded to Codecov using [codecov.yml] workflow shortly."
92- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
92+ if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
9393
9494 pre-commit-hook :
9595 runs-on : ubuntu-latest
9696
9797 steps :
98- - uses : actions/checkout@v3
98+ - uses : actions/checkout@v5
9999 - name : Set up Python
100- uses : actions/setup-python@v4
100+ uses : actions/setup-python@v6
101101 with :
102- python-version : 3.13
102+ python-version : 3.14
103103
104104 - name : Installation (deps and package)
105105 run : |
@@ -117,11 +117,11 @@ jobs:
117117 runs-on : ubuntu-latest
118118 steps :
119119 - name : Checkout source
120- uses : actions/checkout@v3
121- - name : Set up Python 3.13
122- uses : actions/setup-python@v4
120+ uses : actions/checkout@v5
121+ - name : Set up Python 3.14
122+ uses : actions/setup-python@v6
123123 with :
124- python-version : 3.13
124+ python-version : 3.14
125125 - name : install flit
126126 run : |
127127 pip install flit~=3.0
0 commit comments