Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
akanz1 committed Oct 26, 2024
1 parent 7f7f311 commit 639ddb4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: pre-commit

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.draft == false }}
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
2 changes: 0 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
version: "0.4.27"
- name: Run pre-commit
uses: pre-commit/[email protected]

- name: Install dependencies
run: |
Expand Down

0 comments on commit 639ddb4

Please sign in to comment.