hyfetch/.github/workflows/shellcheck.yml
2022-08-01 12:46:32 -04:00

24 lines
490 B
YAML

name: Shellcheck
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
# Shellcheck
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck
- name: Run shellcheck
run: |
shellcheck -V
shellcheck -e SC2244 -e SC2243 -e SC2154 neofetch
./neofetch