Skip to content

Commit f1d1ec8

Browse files
authored
Merge branch 'main' into rwgk/narrow-ci-checkouts
2 parents be708f0 + 136f0a1 commit f1d1ec8

13 files changed

Lines changed: 2238 additions & 1788 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,33 @@ updates:
2121
patterns: ["*"]
2222
update-types: ["major", "minor", "patch"]
2323

24+
labels: [CI/CD, dependencies]
25+
26+
# Group monthly hook revision updates, preserving SHA pins and frozen comments.
27+
- package-ecosystem: pre-commit
28+
directory: /
29+
schedule:
30+
interval: "monthly"
31+
time: "09:00"
32+
timezone: "America/Los_Angeles"
33+
34+
open-pull-requests-limit: 1
35+
36+
# Match hook repositories, leaving additional_dependencies pins unchanged.
37+
allow:
38+
- dependency-name: "https://github.com/*"
39+
# Lychee's hook revision, LYCHEE_VERSION argument, and CI binary pin must
40+
# be upgraded together in a coordinated manual update.
41+
ignore:
42+
- dependency-name: "https://github.com/lycheeverse/lychee"
43+
44+
groups:
45+
pre-commit-monthly:
46+
applies-to: version-updates
47+
patterns: ["*"]
48+
49+
labels: [CI/CD, dependencies]
50+
2451
# GitHub Actions updates targeting the 12.9.x branch
2552
- package-ecosystem: github-actions
2653
directory: /
@@ -38,3 +65,5 @@ updates:
3865
applies-to: version-updates
3966
patterns: ["*"]
4067
update-types: ["major", "minor", "patch"]
68+
69+
labels: [CI/CD, dependencies]

‎.github/workflows/pre-commit.yml‎

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: "CI: pre-commit"
6+
7+
on:
8+
pull_request:
9+
types: [opened, reopened, synchronize]
10+
push:
11+
# PR events cover draft and fork PRs without also checking copy-pr-bot's
12+
# pull-request/N mirrors. Only main needs a push check.
13+
branches:
14+
- "main"
15+
workflow_dispatch: {}
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
19+
cancel-in-progress: true
20+
21+
permissions:
22+
contents: read
23+
24+
defaults:
25+
run:
26+
shell: bash --noprofile --norc -xeuo pipefail {0}
27+
28+
jobs:
29+
pre-commit:
30+
name: Pre-commit (${{ matrix.name }})
31+
runs-on: ${{ matrix.os }}
32+
timeout-minutes: 30
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
include:
37+
- name: Linux
38+
os: ubuntu-latest
39+
- name: Windows
40+
os: windows-latest
41+
env:
42+
# Link checks have their own Linux workflow. The installation reminder
43+
# is for developer machines; CI does not install a Git commit hook.
44+
SKIP: lychee,check-precommit-installed
45+
steps:
46+
- name: Checkout repository
47+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
48+
with:
49+
fetch-depth: 1
50+
persist-credentials: false
51+
52+
- name: Set up Python
53+
id: python
54+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
55+
with:
56+
python-version: '3.14'
57+
58+
- name: Set pre-commit cache location
59+
run: echo "PRE_COMMIT_HOME=${RUNNER_TEMP}/pre-commit" >> "${GITHUB_ENV}"
60+
61+
- name: Cache pre-commit environments
62+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
63+
with:
64+
path: ${{ env.PRE_COMMIT_HOME }}
65+
key: pre-commit-${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
66+
67+
- name: Install pre-commit
68+
run: python -m pip install --upgrade pip pre-commit
69+
70+
- name: Run pre-commit
71+
run: pre-commit run --all-files --show-diff-on-failure

‎benchmarks/cuda_bindings/pixi.lock‎

Lines changed: 57 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎benchmarks/cuda_core/pixi.lock‎

Lines changed: 57 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)