Skip to content

fix:The Build Task for i18n to res folder not working properly #260

fix:The Build Task for i18n to res folder not working properly

fix:The Build Task for i18n to res folder not working properly #260

name: pr_ktlint_detekt
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
jobs:
ktlint:
runs-on: ubuntu-latest
name: Run ktlint and detekt
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup JDK environment
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run ktlint
run: ./gradlew lintKotlin
- name: Run detekt
if: always()
run: ./gradlew detekt