Skip to content

Commit 8b7b07b

Browse files
author
Joao Felipe Rocha
committed
Modified the all checkout actions to use v4
1 parent e19c247 commit 8b7b07b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
2424
steps:
2525

26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
2929

3030
- name: Cache pre-commit
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: ~/.cache/pre-commit
3434
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}-
3535

3636
- name: Run pre-commit
3737
id: precommit
38-
uses: pre-commit/action@v3.0.0
38+
uses: pre-commit/action@v4.2.0
3939
continue-on-error: true
4040

4141
- name: Commit files
@@ -59,4 +59,4 @@ jobs:
5959

6060
- name: Check pre-commit
6161
if: steps.precommit.outcome == 'failure'
62-
uses: pre-commit/action@v3.0.0
62+
uses: pre-commit/action@v4.2.0

0 commit comments

Comments
 (0)