From 01170aded69cd8a256103d08db307c4190fef865 Mon Sep 17 00:00:00 2001 From: yamilmedina Date: Tue, 23 Apr 2024 10:20:20 +0200 Subject: [PATCH] chore: add initial config test file --- .cirrus.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000000..c518c0a642f --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,13 @@ +static-code-analysis: + only_if: $CIRRUS_BRANCH == "main" || $CIRRUS_BRANCH == "develop" || $CIRRUS_BRANCH == "release/candidate" || CIRRUS_PR != "" + gradle_cache: + folder: ~/.gradle/caches + check_script: gradle detektAll + container: + image: gradle:jdk17 + cleanup_before_cache_script: + - rm -rf ~/.gradle/caches/$GRADLE_VERSION/ + - rm -rf ~/.gradle/caches/transforms-1 + - rm -rf ~/.gradle/caches/journal-1 + - rm -rf ~/.gradle/caches/jars-3/*/buildSrc.jar + - find ~/.gradle/caches/ -name "*.lock" -type f -delete