From 9699c4d55c3dd7f1982b5e62aaf742e8e11d40be Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Tue, 5 May 2026 23:09:26 -0400 Subject: [PATCH] chore(ci): split dotnet restore and test in CI --- .gitea/workflows/deploy-socialize.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-socialize.yml b/.gitea/workflows/deploy-socialize.yml index e1db4e4..714512b 100644 --- a/.gitea/workflows/deploy-socialize.yml +++ b/.gitea/workflows/deploy-socialize.yml @@ -36,7 +36,9 @@ jobs: mkdir -p \"\$workdir\" tar -xzf - -C \"\$workdir\" cd \"\$workdir\" - dotnet test backend/Socialize.slnx" + find . -type d \( -name bin -o -name obj \) -prune -exec rm -rf {} + + dotnet restore backend/Socialize.slnx + dotnet test backend/Socialize.slnx --no-restore" image: needs: test