fix lint action
This commit is contained in:
@@ -17,22 +17,26 @@ jobs:
|
||||
GITEA_ADDRESS: http://gitea:3000
|
||||
steps:
|
||||
- name: 'Pull code'
|
||||
- uses: actions/checkoutv6
|
||||
uses: actions/checkoutv6
|
||||
|
||||
- name: 'Find changed Java files'
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v44
|
||||
with:
|
||||
files: |
|
||||
**.java
|
||||
|
||||
- name: 'Setup Java JDK'
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '22'
|
||||
distribution: 'zulu'
|
||||
|
||||
- name: 'Setup Reviewdog'
|
||||
uses: reviewdog/action-setup@v1
|
||||
with:
|
||||
reviewdog_version: ${{ env.REVIEWDOG_VERSION }}
|
||||
|
||||
- name: 'Run Checkstyle with Reviewdog'
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user