From 222e32725991f189b4d6b03b1e4d2fcfd3435eda Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 19 Mar 2026 14:47:07 -0300 Subject: [PATCH] fix: Clean target cache and include UI files in cache key --- .forgejo/workflows/botui.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/botui.yaml b/.forgejo/workflows/botui.yaml index 176d322..f884ec9 100644 --- a/.forgejo/workflows/botui.yaml +++ b/.forgejo/workflows/botui.yaml @@ -46,11 +46,14 @@ jobs: ~/.cargo/git ~/.cache/sccache workspace/target - key: ${{ runner.os }}-cargo-v2-debug-ui-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-cargo-v2-debug-ui-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('ui/**/*.html', 'ui/**/*.js', 'ui/**/*.css') }} restore-keys: | ${{ runner.os }}-cargo-v2-debug-ui- ${{ runner.os }}-cargo-v2-debug- + - name: Clean old target + run: rm -rf workspace/target || true + - name: Install system dependencies run: | sudo apt-get update