1717 - name : Set up Python
1818 uses : actions/setup-python@v4
1919 with :
20- python-version : 3.11
20+ python-version : 3.13
2121 - name : Installation (deps and package)
2222 run : pip install .
2323 -
uses :
pre-commit/[email protected] 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.11
52+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
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.11
66+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
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.11
73+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
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.11
83+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
8484 uses : actions/upload-artifact@v4
8585 with :
8686 name : codecov_report
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.11
92+ if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
9393
9494 pre-commit-hook :
9595 runs-on : ubuntu-latest
9999 - name : Set up Python
100100 uses : actions/setup-python@v4
101101 with :
102- python-version : 3.11
102+ python-version : 3.13
103103
104104 - name : Installation (deps and package)
105105 run : |
@@ -118,10 +118,10 @@ jobs:
118118 steps :
119119 - name : Checkout source
120120 uses : actions/checkout@v3
121- - name : Set up Python 3.11
121+ - name : Set up Python 3.13
122122 uses : actions/setup-python@v4
123123 with :
124- python-version : 3.11
124+ python-version : 3.13
125125 - name : install flit
126126 run : |
127127 pip install flit~=3.0
0 commit comments