hyfetch/.github/workflows/shellcheck.yml

25 lines
460 B
YAML
Raw Normal View History

2022-08-01 12:32:04 -04:00
name: Shellcheck
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
# Shellcheck
check:
2022-08-01 12:46:32 -04:00
runs-on: ubuntu-22.04
2022-08-01 12:32:04 -04:00
steps:
- uses: actions/checkout@v3
2022-08-01 12:33:52 -04:00
- name: Install shellcheck
2022-08-01 12:43:50 -04:00
run: sudo apt-get update && sudo apt-get install -y shellcheck
2022-08-01 12:33:52 -04:00
2022-08-01 12:32:04 -04:00
- name: Run shellcheck
run: |
2022-08-01 12:39:52 -04:00
shellcheck -V
2022-08-11 23:31:49 -04:00
shellcheck neofetch
2022-08-01 12:32:04 -04:00
./neofetch