hyfetch/.github/workflows/shellcheck.yml

25 lines
486 B
YAML
Raw Normal View History

2022-08-01 10:32:04 -06:00
name: Shellcheck
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
# Shellcheck
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2022-08-01 10:33:52 -06:00
- name: Install shellcheck
2022-08-01 10:43:13 -06:00
run: sudo apt-get update && apt-get install -y shellcheck
2022-08-01 10:33:52 -06:00
2022-08-01 10:32:04 -06:00
- name: Run shellcheck
run: |
2022-08-01 10:39:52 -06:00
shellcheck -V
2022-08-01 10:43:13 -06:00
shellcheck -e SC2244 -e SC2243 -e SC2154 neofetch
2022-08-01 10:32:04 -06:00
./neofetch