Skip to content

Commit 5ef5f87

Browse files
Update .github/workflows/code_quality.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jackson Antonio do Prado Lima <jacksonpradolima@users.noreply.github.com>
1 parent 06678b3 commit 5ef5f87

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/code_quality.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ jobs:
6868
uv pip install -e .
6969
7070
- name: Build Rust extension
71-
run: make rust-build
71+
run: |
72+
# Ensure a cargo env file exists so that Makefile's `source "$HOME/.cargo/env"` does not fail
73+
if [ ! -f "$HOME/.cargo/env" ]; then
74+
mkdir -p "$HOME/.cargo"
75+
printf '# no-op cargo env for CI; Rust is already available in PATH\n' > "$HOME/.cargo/env"nv"
76+
fi
77+
make rust-build
7278
7379
- name: Run tests (Rust backend)
7480
env:

0 commit comments

Comments
 (0)