Skip to content

Commit 8614f06

Browse files
committed
fixup! Update pre-commit checks
1 parent fef5b51 commit 8614f06

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/lint.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Python
11+
uses: actions/setup-python@v5
12+
with:
13+
python-version: "3.13"
14+
cache: pip
15+
- name: Install dependencies
16+
run: pip install .[dev]
17+
- name: Run pre-commit checks
18+
run: pre-commit run --all-files --show-diff-on-failure

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@ jobs:
1919
cache: pip
2020
- name: Install dependencies
2121
run: pip install .[dev]
22-
- name: Run pre-commit checks
23-
if: startsWith(matrix.os, 'ubuntu-')
24-
run: pre-commit run --all-files --show-diff-on-failure
2522
- name: Run tests
2623
run: pytest --cov=cloudnet_submit

0 commit comments

Comments
 (0)