Skip to content

Commit bb850ff

Browse files
authored
Fix checks on main (#576)
1 parent a6ee40e commit bb850ff

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

.github/workflows/checks.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-License-Identifier: BSD-2-Clause
3+
4+
on:
5+
workflow_call:
6+
7+
defaults:
8+
run:
9+
shell: bash
10+
11+
jobs:
12+
check-style:
13+
runs-on: ubuntu-latest
14+
container:
15+
image: rapidsai/ci-conda:latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- uses: actions/cache@v4
22+
with:
23+
path: ~/.cache/pre-commit
24+
key: pre-commit-0|${{ hashFiles('.pre-commit-config.yaml') }}
25+
- name: Run ci/check_style.sh
26+
run: ci/check_style.sh

.github/workflows/pr.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ jobs:
3232
secrets: inherit
3333
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
3434
checks:
35-
secrets: inherit
36-
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
37-
with:
38-
enable_check_generated_files: false
35+
uses: ./.github/workflows/checks.yaml
3936
compute-matrix:
4037
runs-on: ubuntu-latest
4138
outputs:

0 commit comments

Comments
 (0)