CI: Set CARGO_HOME in justfile recipe
Some checks failed
/ verify (push) Has been cancelled

This commit is contained in:
Juno Takano 2026-06-04 22:00:44 -03:00
commit c749348b14
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,7 @@ on:
- .forgejo/**
- Cargo.toml
- Cargo.lock
jobs:
verify:
runs-on: docker

View file

@ -468,7 +468,7 @@ choose:
alias ch := choose
[script, private]
[script, private, env("CARGO_HOME", "$HOME/.cargo")]
ci recipe:
su ci -c "just {{ recipe }}"
@ -486,7 +486,7 @@ just_cmd_no_ts := 'just --explain --command-color green'
watch_cmd := "watchexec -qc -r -e rs,toml,html,css --color always -- "
cover_cmd := 'cargo llvm-cov --color always --ignore-filename-regex "main\.rs|log\.rs"'
last_local_tag := `git tag --sort=-creatordate | head -1 | tr -d v`
last_local_tag := `git tag --sort=-creatordate | head -n 1 | tr -d v`
manifest_version := `grep "^version" Cargo.toml | cut -d \" -f 2`
lockfile_version := ```
grep -A 1 'name = "en"' Cargo.lock \