Skip to content

Commit 97c6ac8

Browse files
committed
ci: sync: add check for next <-> pin-init-next
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
1 parent 752d1bb commit 97c6ac8

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/sync.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ permissions:
22
contents: read
33
on:
44
push:
5-
branches: [kernel]
5+
branches: [kernel, next]
66
schedule:
77
- cron: '7 7 * * *'
88
name: sync-check
@@ -26,3 +26,26 @@ jobs:
2626
git status
2727
false
2828
fi
29+
pin-init-next:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
with:
34+
ref: next
35+
path: pin-init
36+
- uses: actions/checkout@v4
37+
with:
38+
repository: "Rust-for-Linux/linux"
39+
ref: pin-init-next
40+
path: kernel
41+
- run:
42+
cp -r linux/rust/pin-init .
43+
cd pin-init
44+
if ! git diff --quiet ; then
45+
git diff
46+
false
47+
fi
48+
if [ -n "$(git ls-files --others --exclude-standard)" ]; then
49+
git status
50+
false
51+
fi

0 commit comments

Comments
 (0)