Skip to content

Commit

Permalink
Use pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Oct 31, 2024
1 parent f244507 commit 0b36cd0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ permissions: {}

jobs:
lint:
name: Run linters
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v2

- run: >
uvx --with tox-uv
tox run -e lint -- --show-diff-on-failure
- uses: tox-dev/action-pre-commit-uv@v1


build-package:
Expand Down

0 comments on commit 0b36cd0

Please sign in to comment.