mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
use ludeeus/action-shellcheck for shellcheck.
This commit is contained in:
parent
d87e955d79
commit
92aa11e80a
8
.github/workflows/shellcheck.yml
vendored
8
.github/workflows/shellcheck.yml
vendored
@ -6,9 +6,5 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get shellCheck
|
||||
run: |
|
||||
curl -Lf https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar xJfv - --strip-components=1 shellcheck-stable/shellcheck -C /bin
|
||||
- name: Run shellcheck
|
||||
run: |
|
||||
git ls-files --exclude='*.sh' --ignored | xargs shellcheck
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
Loading…
x
Reference in New Issue
Block a user