Use our local checks.yaml in pr.yaml #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: BSD-2-Clause | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| check-style: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rapidsai/ci-conda:latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-0|${{ hashFiles('.pre-commit-config.yaml') }} | |
| - name: Run ci/check_style.sh | |
| run: ci/check_style.sh |