Skip to content

Commit

Permalink
Improve pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed May 29, 2024
1 parent 07a3fb3 commit 8a5d3de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install pre-commit
run: pip install pre-commit==${{ env.PRECOMMIT_VERSION }}

- name: Cache pre-commit
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: precommit-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install pre-commit
run: pip install pre-commit==${{ env.PRECOMMIT_VERSION }}

- name: Run pre-commit
run: pre-commit run --all-files
run: pre-commit run --all-files --color=always

0 comments on commit 8a5d3de

Please sign in to comment.