[F] Fix shellcheck CI
This commit is contained in:
parent
e7b92d9e57
commit
2dac990718
1 changed files with 2 additions and 1 deletions
24
.github/workflows/shellcheck.yml
vendored
Normal file
24
.github/workflows/shellcheck.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Shellcheck
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# Shellcheck
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install shellcheck
|
||||
run: sudo apt-get install -y shellcheck
|
||||
|
||||
- name: Run shellcheck
|
||||
run: |
|
||||
shellcheck -V
|
||||
shellcheck -e SC2244 -e SC2243 neofetch
|
||||
./neofetch
|
||||
Loading…
Add table
Add a link
Reference in a new issue