@@ -10,41 +10,31 @@ jobs:
1010 Lint :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
14- - uses : actions/setup-python@v4
15- with :
16- python-version : " 3.11"
17- - uses : pre-commit/action@v3.0.0
13+ - uses : actions/checkout@v4
14+ - uses : akx/pre-commit-uv-action@v0.1.0
1815 Python :
1916 runs-on : ubuntu-latest
2017 env :
2118 DEBUG : " 1"
2219 strategy :
2320 matrix :
2421 include :
25- - python-version : " 3.7 "
26- - python-version : " 3.11 "
22+ - python-version : " 3.9 "
23+ - python-version : " 3.13 "
2724 steps :
28- - uses : actions/checkout@v3
29- - name : " Set up Python ${{ matrix.python-version }}"
30- uses : actions/setup-python@v4
25+ - uses : actions/checkout@v4
26+ - uses : astral-sh/setup-uv@v6
3127 with :
3228 python-version : " ${{ matrix.python-version }}"
33- cache : pip
34- cache-dependency-path : |
35- pyproject.toml
36- setup.py
37- tox.ini
38- - run : pip install -U tox tox-gh-actions
39- - run : tox
40- - uses : codecov/codecov-action@v3
29+ - run : uvx --with=tox-gh-actions --with=tox-uv tox
30+ - uses : codecov/codecov-action@v5
4131 JavaScript :
4232 runs-on : ubuntu-latest
4333 steps :
44- - uses : actions/checkout@v3
45- - uses : actions/setup-node@v3
34+ - uses : actions/checkout@v4
35+ - uses : actions/setup-node@v4
4636 with :
47- node-version : 18 .x
37+ node-version : 22 .x
4838 cache : yarn
4939 cache-dependency-path : |
5040 infotv/frontend/package.json
5747 working-directory : ./infotv/frontend
5848 - run : yarn test
5949 working-directory : ./infotv/frontend
60- - uses : actions/upload-artifact@v3
50+ - uses : actions/upload-artifact@v4
6151 with :
6252 name : infotv-static
6353 path : ./infotv/static
@@ -67,19 +57,17 @@ jobs:
6757 - JavaScript
6858 runs-on : ubuntu-latest
6959 steps :
70- - uses : actions/checkout@v3
71- - uses : actions /setup-python@v4
60+ - uses : actions/checkout@v4
61+ - uses : astral-sh /setup-uv@v6
7262 with :
73- python-version : " 3.11"
74- cache : pip
75- - uses : actions/download-artifact@v2
63+ python-version : " 3.13"
64+ - uses : actions/download-artifact@v4
7665 with :
7766 name : infotv-static
7867 path : infotv/static
79- - run : pip install build
80- - run : python -m build .
68+ - run : uv build .
8169 - run : zipinfo dist/*.whl | grep static/infotv/bundle.js || exit 42
82- - uses : actions/upload-artifact@v3
70+ - uses : actions/upload-artifact@v4
8371 with :
8472 name : dist
8573 path : dist
0 commit comments