We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6329628 commit 30c75d0Copy full SHA for 30c75d0
.github/workflows/lint-backend.yml
@@ -0,0 +1,23 @@
1
+name: Lint Java Backend
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint-java:
7
+ runs-on: ubuntu-latest
8
+ name: Checkstyle Java Linting
9
+ steps:
10
+ - uses: actions/checkout@v3
11
12
+ - name: Set up JDK
13
+ uses: actions/setup-java@v4
14
+ with:
15
+ distribution: 'temurin'
16
+ java-version: '17'
17
18
+ - name: Download Checkstyle
19
+ run: curl -L -o checkstyle.jar https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.12.1/checkstyle-10.12.1-all.jar
20
21
+ - name: Run Checkstyle
22
+ run: |
23
+ java -jar checkstyle.jar -c /google_checks.xml app/src/main/java/com/project/back_end || true
0 commit comments