Skip to content

Commit 03c6d78

Browse files
authored
Switch pre-commit to use the mozilla-releng/actions action (#679)
1 parent 88adbc5 commit 03c6d78

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,4 @@ jobs:
99
name: Run pre-commit
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-python@v5
14-
- run: python -m pip install pre-commit
15-
shell: bash
16-
- uses: actions/cache@v4
17-
with:
18-
path: ~/.cache/pre-commit
19-
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
20-
- run: pre-commit run --show-diff-on-failure --color=always -a
21-
shell: bash
12+
- uses: mozilla-releng/actions/pre-commit@main

0 commit comments

Comments
 (0)