[F] Fix shellcheck CI

This commit is contained in:
Hykilpikonna 2022-08-01 12:39:52 -04:00 committed by GitHub
parent e7b92d9e57
commit 2dac990718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/shellcheck.yml vendored Normal file
View 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