15 lines
384 B
YAML
15 lines
384 B
YAML
name: Shellcheck
|
|
on: [push]
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Set up shellcheck
|
|
run: |
|
|
apt update
|
|
apt install -y shellcheck
|
|
- name: Analysing the code with shellcheck
|
|
run: find . -type f -name "*.sh" | xargs shellcheck -S warning
|