增加晶洞搜索到紫晶洞的提示翻译 #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style Check in CI | |
on: | |
push: | |
branches: | |
- releases/** | |
pull_request: | |
branches: | |
- releases/** | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: Setup Java 17 | |
uses: actions/[email protected] | |
with: | |
distribution: zulu | |
java-version: 17 | |
- uses: reviewdog/action-setup@v1 | |
with: | |
reviewdog_version: latest | |
- name: download checkstyle | |
run: curl -o checkstyle.jar -L https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.15.0/checkstyle-10.15.0-all.jar | |
- name: checkstyle | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: java -jar checkstyle.jar -c style.xml -f xml common/src fabric/src forge/src | reviewdog -f=checkstyle -name="Checkstyle" -reporter=github-check -level=warning |