浏览代码

Update linting task in action workflows

arkon 1 年之前
父节点
当前提交
dbc7fe4d54
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .github/workflows/build_pull_request.yml
  2. 1 1
      .github/workflows/build_push.yml

+ 1 - 1
.github/workflows/build_pull_request.yml

@@ -36,4 +36,4 @@ jobs:
       - name: Build app and run unit tests
       - name: Build app and run unit tests
         uses: gradle/gradle-command-action@v2
         uses: gradle/gradle-command-action@v2
         with:
         with:
-          arguments: lintKotlin assembleStandardRelease testReleaseUnitTest
+          arguments: ktlintCheck assembleStandardRelease testReleaseUnitTest

+ 1 - 1
.github/workflows/build_push.yml

@@ -31,7 +31,7 @@ jobs:
       - name: Build app and run unit tests
       - name: Build app and run unit tests
         uses: gradle/gradle-command-action@v2
         uses: gradle/gradle-command-action@v2
         with:
         with:
-          arguments: lintKotlin assembleStandardRelease testReleaseUnitTest
+          arguments: ktlintCheck assembleStandardRelease testReleaseUnitTest
 
 
       # Sign APK and create release for tags
       # Sign APK and create release for tags