Skip to content

Commit

Permalink
Setup check quality Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SIR committed Mar 31, 2024
1 parent d17c6d6 commit ca33906
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
name: Code quality check
run-name: Check code quality with linter
on: [push]
on: [ push ]
jobs:
Explore-GitHub-Actions:
Detekt:
runs-on: ubuntu-latest
steps:
- run: ./gradlew detekt
- name: Checkout sources
uses: actions/checkout@v4

- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
cache-disabled: true

- name: Detekt
shell: bash
run: ./gradlew detekt

# - name: Publish Detekt reports
# uses: jwgmeligmeyling/checkstyle-github-action@master
# with:
# path: '**/checkstyle-result.xml'

0 comments on commit ca33906

Please sign in to comment.