Skip to content

Commit d1f7d01

Browse files
committed
ci: simplify pre-commit checks
1 parent 69394c7 commit d1f7d01

File tree

2 files changed

+9
-29
lines changed

2 files changed

+9
-29
lines changed

.github/workflows/checks.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/pr.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
pr-builder:
1818
needs:
19-
- checks
19+
- pre-commit
2020
- compute-matrix
2121
- build-conda
2222
- test-conda
@@ -31,8 +31,14 @@ jobs:
3131
- coverage-report
3232
secrets: inherit
3333
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
34-
checks:
35-
uses: ./.github/workflows/checks.yaml
34+
pre-commit:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
39+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
40+
with:
41+
extra_args: --all-files --show-diff-on-failure
3642
compute-matrix:
3743
runs-on: ubuntu-latest
3844
outputs:

0 commit comments

Comments
 (0)