forked from VOICEVOX/voicevox_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: ShellCheck CI * fix: パス解決 lint エラーを回避 * fix: ls-grep を if で置き換え * fix: grep を glob で置換し lint エラーを解消 * refactor: workflow step 名を明確化 * fix: workflow ジョブ名を明確化 Co-authored-by: Hiroshiba <[email protected]> --------- Co-authored-by: Hiroshiba <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,3 +75,17 @@ jobs: | |
- name: Test names by checking typo | ||
if: ${{ startsWith(matrix.os, 'ubuntu-') }} | ||
uses: crate-ci/[email protected] | ||
|
||
shellcheck: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: <Setup> Check out the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: <Setup> Install ShellCheck | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y shellcheck | ||
- name: <Test> Check shell files | ||
run: git ls-files | grep -E '\.(ba)?sh' | xargs shellcheck |
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
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