From bf708391ae32c417f15486e0f4aa20c83ac0cc38 Mon Sep 17 00:00:00 2001 From: Nanashi Date: Sat, 16 Sep 2023 18:09:39 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Python=20Lint=20Workflow=E3=81=AE?= =?UTF-8?q?=E5=AE=9F=E8=A1=8C=E6=9D=A1=E4=BB=B6=E3=82=92=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=20(#614)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/java_lint.yml | 10 +++++----- .github/workflows/python_lint.yml | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/java_lint.yml b/.github/workflows/java_lint.yml index b631819b8..c75222912 100644 --- a/.github/workflows/java_lint.yml +++ b/.github/workflows/java_lint.yml @@ -6,11 +6,11 @@ on: - 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 + - '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: diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index c12b256cf..6f6dfd1b3 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -6,11 +6,11 @@ on: - main pull_request: paths: - - ./example/python/**/*.py - - ./crates/voicevox_core_python_api/**/*.py - - ./crates/voicevox_core_python_api/requirements*.txt - - ./crates/voicevox_core_python_api/pyproject.toml - - ./.github/workflows/python_lint.yml + - 'example/python/**.py' + - 'crates/voicevox_core_python_api/**.py' + - 'crates/voicevox_core_python_api/requirements*.txt' + - 'crates/voicevox_core_python_api/pyproject.toml' + - '.github/workflows/python_lint.yml' defaults: run: @@ -37,4 +37,4 @@ jobs: working-directory: ./example/python run: | black --check . - isort --check . + isort --check --profile black .