-
-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (39 loc) · 1.35 KB
/
Copy pathfork-version-sync-check.yml
File metadata and controls
44 lines (39 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Fork Version Sync Check
# Catches the "ILGPU.csproj <Version> bumped but SpawnDev.ILGPU.csproj's
# Fork PackageReference left at the old version" trap that bit rc.28 on
# 2026-04-28 - Tuvok wasted a verification cycle on a "fix" that could
# not possibly reach the IR because the consumer was still pulling
# SpawnDev.ILGPU.Fork 2.0.1 transitively.
#
# This workflow surfaces the trap on every push: it parses all four
# version sites and fails fast if any disagree.
on:
push:
branches: [master]
paths:
- 'ILGPU/ILGPU.csproj'
- 'ILGPU.Algorithms/ILGPU.Algorithms.csproj'
- 'SpawnDev.ILGPU/SpawnDev.ILGPU.csproj'
- '_check-fork-version-sync.cs'
- '.github/workflows/fork-version-sync-check.yml'
pull_request:
branches: [master]
paths:
- 'ILGPU/ILGPU.csproj'
- 'ILGPU.Algorithms/ILGPU.Algorithms.csproj'
- 'SpawnDev.ILGPU/SpawnDev.ILGPU.csproj'
- '_check-fork-version-sync.cs'
- '.github/workflows/fork-version-sync-check.yml'
workflow_dispatch:
jobs:
check-version-sync:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Verify ILGPU package versions are in lockstep
run: dotnet run _check-fork-version-sync.cs