mirror of
https://github.com/YuleBest/FontMM.git
synced 2026-12-04 03:11:48 +08:00
style(code): 使用 Shell Check 进行代码规范化
This commit is contained in:
1 parent
89c4fdc027
commit
e0fc73c71c
12 files changed
+62
-29
No files matched your search
Executable
+23
@@ -0,0 +1,23 @@
|
||||
name: Shell Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "master" ]
|
||||
pull_request:
|
||||
branches: [ "main", "master" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
with:
|
||||
severity: warning
|
||||
scandir: './'
|
||||
env:
|
||||
SHELLCHECK_OPTS: -x
|
||||
Reference in new issue
Block a user