Fix: Python Lint Workflowの実行条件を変更 #6
Workflow file for this run
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: "Lint Java code" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'crates/voicevox_core_java_api/**.java' | |
- 'crates/voicevox_core_java_api/gradle/**' | |
- 'crates/voicevox_core_java_api/gradlew' | |
- 'crates/voicevox_core_java_api/settings.gradle' | |
- '.github/workflows/java_lint.yml' | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./crates/voicevox_core_java_api | |
jobs: | |
java-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: "11" | |
distribution: "adopt" | |
- name: Check code style | |
run: | | |
./gradlew spotlessCheck --info |