Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

FreeBSD CI: match the shared template (git + safe.directory, 4 vCPUs, pinned vmactions/freebsd-vm)

Brandon Thomas4d13061580ea
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 079a3c4d8..9dc8fe0b9 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -41,6 +41,8 @@ jobs:
curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal
run: |
. "$HOME/.cargo/env"
+ # The checkout is synced in under another owner; let tests that call git read it.
+ git config --global --add safe.directory "*"
rustc --version
CARGO_PROFILE_DEV_DEBUG=0 cargo build --workspace --all-targets --locked
CARGO_PROFILE_DEV_DEBUG=0 cargo test --workspace --locked