build: set more env for CI

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-01-13 11:47:40 +02:00
parent eadc4f59ab
commit 31d7f32350
+5 -2
View File
@@ -1,13 +1,16 @@
pre_plan:
- action: cargo_fetch
plan:
# - action: cargo_clippy
- action: cargo_fmt
- action: cargo_clippy
- action: shell
shell: |
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME="$(pwd)"
export PATH="/root/.cargo/bin:$PATH"
git config --global user.email "test@example.com"
git config --global user.name "Testy McTestface"
export PATH="/root/.cargo/bin:$PATH"
env
find /root -maxdepth 4 -type f -ls