File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717 lint :
1818 runs-on : ubuntu-latest
1919 env :
20- PYTHON_VERSION : " 3.10 "
20+ PYTHON_VERSION : " 3.11 "
2121 UV_CACHE_DIR : /tmp/.uv-cache
2222
2323 steps :
24- - uses : actions/checkout@v4
24+ - uses : actions/checkout@v6
2525
2626 - name : Set up uv
2727 run : curl -LsSf https://astral.sh/uv/install.sh | sh
3737 echo "PY=$PY" >> "$GITHUB_OUTPUT"
3838
3939 - name : Restore uv cache
40- uses : actions/cache@v4
40+ uses : actions/cache@v5
4141 id : uv-cache
4242 with :
4343 path : ${{ env.UV_CACHE_DIR }}
@@ -50,15 +50,15 @@ jobs:
5050 if : steps.uv-cache.outputs.cache-hit != 'true'
5151 run : uv sync
5252
53- - name : Restore pre-commit cache
54- uses : actions/cache@v4
53+ - name : Restore prek cache
54+ uses : actions/cache@v5
5555 with :
56- path : ~/.cache/pre-commit
57- key : pre-commit -${{ steps.setup-python.outputs.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
56+ path : ~/.cache/prek
57+ key : prek -${{ steps.setup-python.outputs.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
5858
5959 - name : Code checks
6060 run : |
61- uv run pre-commit run --all-files --show-diff-on-failure
61+ uv run prek run --all-files --show-diff-on-failure
6262
6363 - name : Minimize uv cache
6464 run : uv cache prune --ci
Original file line number Diff line number Diff line change 1414
1515 steps :
1616 - name : Check out
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v6
1818 with :
1919 token : " ${{ secrets.GITHUB_TOKEN }}"
2020 fetch-depth : 0
You can’t perform that action at this time.
0 commit comments