21 lines
348 B
YAML
21 lines
348 B
YAML
name: Test code
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
Test-code:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install ShellCheck
|
|
run: |
|
|
apt install shellcheck
|
|
|
|
- name: Run ShellCheck
|
|
run: |
|
|
shellcheck -e SC2001 -s warning *.sh
|