From 3bdf4f9f9c80369bf3682441b91237c1349f31d9 Mon Sep 17 00:00:00 2001 From: naskya Date: Sat, 11 May 2024 20:34:11 +0900 Subject: [PATCH] ci: GitLab CI's cache is slow --- .gitlab-ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 855b5f41e0..f05a11976a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,16 +24,6 @@ workflow: when: always - when: never -cache: - paths: - - node_modules - # - /usr/local/cargo/registry/index - # - /usr/local/cargo/registry/cache - - target/debug/deps - - target/debug/build - - packages/backend-rs/built - - built - stages: - dependency - test @@ -51,6 +41,7 @@ variables: CARGO_PROFILE_DEV_DEBUG: 'none' CARGO_TERM_COLOR: 'always' SAST_EXCLUDED_ANALYZERS: 'nodejs-scan' + GIT_CLEAN_FLAGS: -ffdx -e node_modules/ -e built/ -e target/ -e packages/backend-rs/built/ default: before_script: