hyfetch/.github/workflows/shellcheck.yml

25 lines
460 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:
2022-08-01 10:46:32 -06:00
runs-on: ubuntu-22.04
2022-08-01 10:32:04 -06:00
steps:
- uses: actions/checkout@v3
2022-08-01 10:33:52 -06:00
- name: Install shellcheck
2022-08-01 10:43:50 -06:00
run: sudo apt-get update && sudo 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-11 21:31:49 -06:00
shellcheck neofetch
2022-08-01 10:32:04 -06:00
./neofetch