Skip to content

Commit

Permalink
ci: fix pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed Oct 15, 2024
1 parent 742ac8f commit 1655dd4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install pre-commit
run: pip install pre-commit
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pipx
run: python -m pip install --user pipx
- name: Install pre-commit with pipx
run: pipx install pre-commit

- name: Run pre-commit
run: pre-commit run --all-files
Expand Down

0 comments on commit 1655dd4

Please sign in to comment.