Skip to content

Commit 1f3c3cc

Browse files
committed
ci: fix kernel sync check
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
1 parent 7a4d623 commit 1f3c3cc

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/kernel.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ jobs:
1414
with:
1515
ref: kernel
1616
path: pin-init
17-
- uses: actions/checkout@v4
18-
with:
19-
repository: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
20-
ref: master
21-
path: kernel
22-
fetch-depth: 1
17+
- run: git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
2318
- run: |
24-
cp -r kernel/rust/pin-init .
19+
cp -r linux/rust/pin-init .
20+
cd pin-init
2521
git diff --quiet && git diff --cached --quiet && [ -z "$(git ls-files --others --exclude-standard)" ]

0 commit comments

Comments
 (0)