Skip to content

Commit

Permalink
chore: Change lint checker on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
PENEKhun committed Jan 27, 2024
1 parent 3868ada commit d1e811d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ jobs:
name: build-reports
path: '**/build/reports/'

- name: Run check style
- name: Run checkstyle reporter
uses: nikitasavinov/checkstyle-action@master
with:
github_token: ${{ secrets.TOKEN }}
reporter: 'github-pr-check'
checkstyle_config: '/config/checkstyle/checkstyle.xml'
checkstyle_config: 'config/checkstyle/checkstyle.xml'

- name: Run checkstyle gradle
run: ./gradlew checkstyleMain checkstyleTest
10 changes: 0 additions & 10 deletions lint.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,4 @@ subprojects {
configDirectory = rootProject.file('config/checkstyle')
configFile = rootProject.file('config/checkstyle/checkstyle.xml')
}

tasks.withType(Checkstyle).tap {
configureEach {
reports {
xml {
destination = file("$buildDir/reports/checkstyle/checkstyle-result.xml")
}
}
}
}
}

0 comments on commit d1e811d

Please sign in to comment.