Skip to content

Commit

Permalink
testing github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LuHG18 committed Apr 15, 2024
1 parent 4ae1378 commit f7880b0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ jobs:
- name: Check code formatting
run: |
git diff --name-only ${{ github.base_ref }} | grep '\.kt$' | xargs ktlint --relative .
git diff --name-only ${{ github.base_ref }} | grep '\.kt$' | xargs ktlint --relative .
- name: Install Checkstyle
run: |
curl -L -o checkstyle.zip https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.44/checkstyle-8.44-all.jar
unzip checkstyle.zip
- name: Check Java code formatting
run: java -jar checkstyle-8.44-all.jar -c sun_checks.xml $(find . -name '*.java')

0 comments on commit f7880b0

Please sign in to comment.