From 2d2995f40f76c308e808bbe2fce1ed5731d95117 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Wed, 7 Oct 2026 14:13:48 +0200 Subject: [PATCH] fix(ci): use Gitea built-in checkout --- .gitea/workflows/kar-cuda-compile.yml | 2 +- scripts/test-kar-cuda-build-lock.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/kar-cuda-compile.yml b/.gitea/workflows/kar-cuda-compile.yml index e7014bfe..6f8f36e0 100644 --- a/.gitea/workflows/kar-cuda-compile.yml +++ b/.gitea/workflows/kar-cuda-compile.yml @@ -26,7 +26,7 @@ jobs: NVIDIA_VISIBLE_DEVICES: void CUDA_VISIBLE_DEVICES: '' steps: - - uses: https://git.vezha.io/actions/checkout@v4 + - uses: builtin:checkout - name: Compile CUDA component in pinned GPU-hidden container shell: bash diff --git a/scripts/test-kar-cuda-build-lock.py b/scripts/test-kar-cuda-build-lock.py index db573727..19cb1379 100644 --- a/scripts/test-kar-cuda-build-lock.py +++ b/scripts/test-kar-cuda-build-lock.py @@ -23,6 +23,8 @@ assert 'options: --platform' not in workflow assert 'NVIDIA_VISIBLE_DEVICES: void' in workflow assert "CUDA_VISIBLE_DEVICES: ''" in workflow assert 'docker run' not in workflow +assert 'uses: builtin:checkout' in workflow +assert 'actions/checkout@' not in workflow for name,version in lock['apt_packages'].items(): assert f'{name}={version}' in workflow print('PASS: pinned CUDA 13.0.1 GPU-hidden Gitea container and direct packages')