From 32b77cf4786a0ff8fa74f9e0a6cd78a22654bc16 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 26 Jan 2024 12:40:57 +0100 Subject: [PATCH] chown --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d17cba4..e31e78a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,10 +12,11 @@ steps: - apt-get update - apt-get install postgresql sudo -y --no-install-recommends --no-install-suggests - adduser testuser + - chown testuser:testuser . -R - export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH" - ls -la /usr/local/cargo/bin - sudo ls -la /usr/local/cargo/bin - - sudo -E -u testuser /usr/local/cargo/bin/cargo test --no-fail-fast + - sudo -E -u testuser cargo test --no-fail-fast cargo_fmt: image: *rust_image