-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github/workflows/main: use
pre-commit/action
- Loading branch information
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,19 +49,11 @@ jobs: | |
with: | ||
python-version: 3.x | ||
|
||
- name: install pre-commit | ||
run: pip install pre-commit | ||
|
||
- name: install package | ||
run: pip install . tomli | ||
|
||
- name: pre-commit cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: "${{ hashFiles('.pre-commit-config.yaml') }}" | ||
|
||
- run: pre-commit run --all-files --show-diff-on-failure | ||
- name: run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
||
fuzz: | ||
name: fuzz | ||
|