From 5fd863d217c4f3c41531c340d5c44b969a62eb80 Mon Sep 17 00:00:00 2001 From: Brian Norman Date: Sun, 11 Sep 2022 12:25:50 -0500 Subject: [PATCH] Init qodana and limit PR workflow jobs --- .github/workflows/build.yml | 7 ++++++- qodana.yaml | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 qodana.yaml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6de7604640..8a5958389d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,11 @@ name: build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + types: [opened, labeled, unlabeled, synchronize] env: GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" diff --git a/qodana.yaml b/qodana.yaml new file mode 100644 index 00000000000..df8d7f4fa7b --- /dev/null +++ b/qodana.yaml @@ -0,0 +1,8 @@ +version: "1.0" +linter: jetbrains/qodana-jvm-community:2022.2 +profile: + name: qodana.recommended +exclude: + - name: All + paths: + - sample