From fb47b60057c67ee1919cf780318008f1515f9e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=98=9C=EC=84=B1?= <118062596+answad@users.noreply.github.com> Date: Sat, 15 Jun 2024 18:55:11 +0900 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..6a6046d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,24 @@ +name: Lint and Static Analysis + +on: + pull_request: + branches: [] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: '11' # 사용하는 Java 버전에 맞추세요. + + - name: Run Detekt Linter + run: ./gradlew detektCheck + + - name: Run Android Lint + run: ./gradlew lintDebug