Merge pull request #175 from nuhkoca/renovate/versions.dagger #350
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Market Tech Challenge Workflow | |
on: | |
pull_request: | |
branches: | |
- master | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-style: | |
name: Check Style | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Run Static Code Analysis | |
run: ./gradlew lintDebug ktlintCheck detekt | |
- name: Execute Unit Tests | |
run: ./gradlew testDebugUnitTest |