From 231385816f78ee550bca9b1f5bd15f420a7900d1 Mon Sep 17 00:00:00 2001 From: Benno Lossin Date: Mon, 14 Apr 2025 10:43:18 +0200 Subject: [PATCH] ci: fix kernel sync check Signed-off-by: Benno Lossin --- .github/workflows/kernel.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 6a0b6ca2..eac98085 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -14,12 +14,8 @@ jobs: with: ref: kernel path: pin-init - - uses: actions/checkout@v4 - with: - repository: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git - ref: master - path: kernel - fetch-depth: 1 + - run: git clone --depth 1 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git - run: | - cp -r kernel/rust/pin-init . + cp -r linux/rust/pin-init . + cd pin-init git diff --quiet && git diff --cached --quiet && [ -z "$(git ls-files --others --exclude-standard)" ]