Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github/workflows/main: use pre-commit/action #297

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down