diff --git a/.github/workflows/gradle-build-with-detekt.yml b/.github/workflows/gradle-build-with-detekt.yml new file mode 100644 index 0000000..4f8bef8 --- /dev/null +++ b/.github/workflows/gradle-build-with-detekt.yml @@ -0,0 +1,20 @@ +name: Gradle Build With Detekt + +on: [workflow_dispatch] + +jobs: + build: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3.0.0 + - name: Set up JDK 11 + uses: actions/setup-java@v3.0.0 + with: + java-version: 11 + distribution: liberica + - name: Gradle Wrapper Validation + uses: gradle/wrapper-validation-action@v1.0.4 + - uses: gradle/gradle-build-action@v2.1.5 + with: + arguments: build --stacktrace -PrunDetekt diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index b376584..4023456 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -1,7 +1,10 @@ +#file: noinspection YAMLSchemaValidation name: Qodana on: workflow_dispatch: pull_request: + branches: + - main push: branches: - main