Skip to content

Commit

Permalink
github/workflows/main: use pre-commit/action
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Mar 13, 2024
1 parent b58a71a commit adb09c8
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yaml
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/cache@v4.0.1
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/action@v3.0.1

fuzz:
name: fuzz
Expand Down

0 comments on commit adb09c8

Please sign in to comment.