Auto_install_Zabbix_Agent/.gitea/workflows/test_code.yml
stirelshka8 aaf54b2e34
All checks were successful
Test code / Test-code (push) Successful in 22s
Add test code CIDC 4
2024-07-20 15:24:23 +03:00

22 lines
409 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: |
sudo apt update
sudo apt install -y shellcheck
- name: Run ShellCheck
run: |
find . -name "*.sh" -exec shellcheck -e SC2001 -s warning {} \;