Skip to content

Commit

Permalink
Merge pull request #119 from NID-kt/hotfix/stop-ci
Browse files Browse the repository at this point in the history
lintのciを一旦止める
  • Loading branch information
TBSten authored Nov 28, 2024
2 parents f1431dd + eabf73f commit a4f5e12
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/pull_request_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,6 @@ permissions:
pull-requests: write

jobs:
android-lint:
runs-on: ubuntu-latest
steps:
# setup
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Setup reviewdog
uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
# android lintを実行
- name: Android Lint
id: android-lint
run: ./gradlew lint
# report
- name: Comment PR by reviewdog
if: always()
run: |
find ./*/build/reports/android-lint/lintResults.sarif \
-type f \
-exec sh -c "cat {} | reviewdog -f=sarif -reporter=github-pr-review" \;
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

ktlint:
runs-on: ubuntu-latest
steps:
# setup
- name: Checkout sources
uses: actions/checkout@v4
- name: ktlint
uses: ScaCap/action-ktlint@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
fail_on_error: true

build_check:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -84,7 +40,6 @@ jobs:
> デバッグビルドに成功しました
comment_tag: debug_build_comment


- run: ./gradlew assembleRelease
id: check_release_build
- name: Comment report
Expand Down

0 comments on commit a4f5e12

Please sign in to comment.