diff --git a/.gitea/workflows/test_code.yml b/.gitea/workflows/test_code.yml new file mode 100644 index 0000000..c13c507 --- /dev/null +++ b/.gitea/workflows/test_code.yml @@ -0,0 +1,20 @@ +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 diff --git a/install_agent.sh b/install_agent.sh index 7261775..7346482 100755 --- a/install_agent.sh +++ b/install_agent.sh @@ -4,7 +4,6 @@ # Install Zabbix Agent # Author: @stirelshka8 # Support version: Ubuntu 22.04, Ubuntu 20.04 -# Tested on: Ubuntu 22.04, Ubuntu 20.04 # License: MIT # ********************************************