From c3b5dbea350a94e3f95043ccda21989bd62c24a7 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Sat, 8 May 2021 02:50:23 +1000 Subject: [PATCH] CI is a bit of a pain --- .gitlab-ci.yml | 15 ++++++++- .idea/csv-plugin.xml | 79 -------------------------------------------- 2 files changed, 14 insertions(+), 80 deletions(-) delete mode 100644 .idea/csv-plugin.xml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23fdf97..89546d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,13 +26,19 @@ stages: .cargo-cleanup: stage: cache-cleanup allow_failure: true + only: + refs: + - branches + - tags + changes: + - "/src/**/*" + - .gitlab-ci.yml script: - cargo install cargo-sweep - cargo sweep -i .cargo-build-base: stage: build-base - only: refs: - branches @@ -68,6 +74,13 @@ stages: clippy: stage: lint + only: + refs: + - branches + - tags + changes: + - "/src/**/*" + - .gitlab-ci.yml script: - rustup component add clippy - cargo clippy --version diff --git a/.idea/csv-plugin.xml b/.idea/csv-plugin.xml deleted file mode 100644 index 5c6cd6e..0000000 --- a/.idea/csv-plugin.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - \ No newline at end of file