Skip to content

Commit 07a39e6

Browse files
committed
chore: update actions
1 parent e157b30 commit 07a39e6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/lint.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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
@@ -37,7 +37,7 @@ jobs:
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

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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

0 commit comments

Comments
 (0)