From 61ccabeb125540f8c8391b27d671a604fc2b173f Mon Sep 17 00:00:00 2001 From: jutty Date: Sat, 21 Mar 2026 09:11:47 -0300 Subject: [PATCH] CI: Add debug output for git safe.directory --- .forgejo/workflows/verify.yaml | 10 ++++++---- .justfile | 3 +++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/verify.yaml b/.forgejo/workflows/verify.yaml index d4fb5f8..a30847c 100644 --- a/.forgejo/workflows/verify.yaml +++ b/.forgejo/workflows/verify.yaml @@ -26,15 +26,17 @@ jobs: - name: Setup Rust toolchain run: | - rustup component add llvm-tools-preview - rustup component add --toolchain nightly rustfmt clippy - rustup target add x86_64-unknown-linux-gnu - rustup target add x86_64-unknown-linux-musl + #rustup component add llvm-tools-preview + #rustup component add --toolchain nightly rustfmt clippy + #rustup target add x86_64-unknown-linux-gnu + #rustup target add x86_64-unknown-linux-musl - name: Setup additional tooling run: | .forgejo/workflows/setup-tools.sh git config --add safe.directory "$PWD" + git config --global safe.directory + ls -la - name: Build run: just ci build diff --git a/.justfile b/.justfile index 6dc9ac6..5bb9969 100644 --- a/.justfile +++ b/.justfile @@ -437,7 +437,10 @@ choose: ci recipe: id -u ci >/dev/null 2>&1 || useradd -m ci chown -R ci:ci . + git config --global safe.directory + ls -la su ci -c "just {{ recipe }}" + su ci -c "git config --global safe.directory" alias ch := choose