From 526d9b57fbe203cd88b7720a28a55a4dfee04558 Mon Sep 17 00:00:00 2001 From: Zach Klippenstein Date: Thu, 4 Feb 2021 13:38:26 -0800 Subject: [PATCH] Exclude compose directory from some build checks where it has its own. --- .github/workflows/compose-kotlin.yml | 5 +---- .github/workflows/kotlin.yml | 2 ++ lint_docs.sh | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compose-kotlin.yml b/.github/workflows/compose-kotlin.yml index 265c3381f2..c78e557ff0 100644 --- a/.github/workflows/compose-kotlin.yml +++ b/.github/workflows/compose-kotlin.yml @@ -1,10 +1,7 @@ -name: Kotlin CI +name: Compose CI on: push: - paths: - - 'compose/**' - - '.github/workflows/compose-kotlin.yml' branches: [main] pull_request: paths: diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml index a5502ad031..70a3e5aa74 100644 --- a/.github/workflows/kotlin.yml +++ b/.github/workflows/kotlin.yml @@ -8,6 +8,8 @@ on: paths-ignore: # Don't build the entire app when just changing tutorials, which have their own workflow. - 'samples/tutorial/**' + # The compose integration has its own workflow. + - 'compose/**' jobs: dokka: diff --git a/lint_docs.sh b/lint_docs.sh index 5ce9d469cc..c4025e26e3 100755 --- a/lint_docs.sh +++ b/lint_docs.sh @@ -17,6 +17,7 @@ find . \ -not -name 'CHANGELOG.md' \ -not -path './.github/*' \ -not -path $TUTORIALS_DIR/'*' \ + -not -path './compose/*' \ | xargs mdl --style $STYLE --ignore-front-matter \ find $TUTORIALS_DIR \