@@ -13,44 +13,44 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Python
18- uses : actions/setup-python@v1
18+ uses : actions/setup-python@v5
1919 with :
20- python-version : 3.7
21- - uses : pre-commit/action@v2 .0.0
20+ python-version : ' 3.10 '
21+ - uses : pre-commit/action@v3 .0.0
2222
2323 tests :
2424 runs-on : ${{ matrix.os }}
2525 strategy :
2626 matrix :
27- python-version : [3.7, 3.8, 3.9, '3.10 ']
27+ python-version : ['3.10', '3.13 ']
2828 os : [ubuntu-latest, windows-latest]
2929
3030 steps :
31- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v4
3232
3333 - name : Set up Python ${{ matrix.python-version }}
34- uses : actions/setup-python@v2
34+ uses : actions/setup-python@v5
3535 with :
3636 python-version : ${{ matrix.python-version }}
3737
3838 - name : Installation (deps and package)
3939 # we install with flit --pth-file,
4040 # so that coverage will be recorded for the module
4141 run : |
42- pip install flit
42+ pip install flit>=3.12.0
4343 flit install --deps=production --extras=test --pth-file
4444
4545 - name : Run pytest
4646 run : |
4747 pytest --cov=mdformat_footnote --cov-report=xml --cov-report=term-missing
4848
4949 # - name: Upload to Codecov
50- # if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
50+ # if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.10
5151 # uses: codecov/codecov-action@v1
5252 # with:
53- # name: pytests-py3.7
53+ # name: pytests-py3.10
5454 # flags: pytests
5555 # file: ./coverage.xml
5656 # fail_ci_if_error: true
@@ -59,11 +59,11 @@ jobs:
5959 runs-on : ubuntu-latest
6060
6161 steps :
62- - uses : actions/checkout@v2
62+ - uses : actions/checkout@v4
6363 - name : Set up Python
64- uses : actions/setup-python@v2
64+ uses : actions/setup-python@v5
6565 with :
66- python-version : 3.7
66+ python-version : ' 3.10 '
6767
6868 - name : Installation (deps and package)
6969 run : |
@@ -81,14 +81,14 @@ jobs:
8181 runs-on : ubuntu-latest
8282 steps :
8383 - name : Checkout source
84- uses : actions/checkout@v2
85- - name : Set up Python 3.7
86- uses : actions/setup-python@v1
84+ uses : actions/checkout@v4
85+ - name : Set up Python 3
86+ uses : actions/setup-python@v5
8787 with :
88- python-version : 3.7
88+ python-version : ' 3.x '
8989 - name : install flit
9090 run : |
91- pip install flit~=3 .0
91+ pip install flit>=3.12 .0
9292 - name : Build and publish
9393 run : |
9494 flit publish
0 commit comments