diff --git a/.woodpecker.yml b/.woodpecker.yml index 726f573..f670957 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -25,6 +25,8 @@ pipeline: image: chewingbever/fej-builder:latest pull: true group: build + environment: + - CARGO_HOME=.cargo commands: - cargo build @@ -32,6 +34,8 @@ pipeline: # =====TESTING===== test-backend: image: chewingbever/fej-builder:latest + environment: + - CARGO_HOME=.cargo commands: - cargo test @@ -47,6 +51,8 @@ pipeline: lint-backend: image: chewingbever/fej-builder:latest group: lint + environment: + - CARGO_HOME=.cargo commands: - cargo fmt -- --check # This is run here because it requires compilation