@@ -12,35 +12,32 @@ permissions:
1212
1313jobs :
1414 lint :
15- strategy :
16- matrix :
17- cmd : [ "black", "ruff", "mypy" ]
1815 runs-on : ubuntu-latest
1916 steps :
20- - uses : actions/checkout@v5
17+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2118 with :
2219 persist-credentials : false
2320 - id : setup-uv
24- uses : astral-sh/setup-uv@v7
21+ uses : astral-sh/setup-uv@v10
2522 with :
2623 version : " latest"
2724 python-version : " 3.13"
2825 - name : Install deps
2926 run : uv sync --all-extras
3027 - name : Run lint check
31- run : uv run pre-commit run -a ${{ matrix.cmd }}
28+ run : uv run prek run -a
3229 pytest :
3330 strategy :
3431 matrix :
35- py_version : [ "3.10", "3.11", "3.12", "3.13" ]
32+ py_version : [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
3633 runs-on : " ubuntu-latest"
3734 steps :
38- - uses : actions/checkout@v5
35+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3936 - name : Set up Redis instance and Redis cluster
4037 run : docker compose up -d --wait
4138 - name : Set up uv and enable cache
4239 id : setup-uv
43- uses : astral-sh/setup-uv@v7
40+ uses : astral-sh/setup-uv@v10
4441 with :
4542 enable-cache : true
4643 cache-suffix : " ${{ matrix.py_version }}"
5350 - name : Generate coverage report
5451 run : uv run coverage xml
5552 - name : Upload coverage reports to Codecov with GitHub Action
56- uses : codecov/codecov-action@v5
53+ uses : codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
5754 if : matrix.py_version == '3.10'
5855 with :
5956 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments