Code Testing #1901
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Testing | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 8 * * *' | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
name: Run shellcheck | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Display original shellcheck version | |
run: shellcheck --version | |
- name: Update shellcheck to latest stable version | |
run: | | |
wget -qO- https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar -xJv | |
sudo cp shellcheck-stable/shellcheck /usr/bin/ | |
- name: Display current shellcheck version | |
run: shellcheck --version | |
- name: Shellcheck execution | |
run: shellcheck -P functions scripts/* functions/* etc/ngcp-ngcpcfg/ngcpcfg.cfg sbin/ngcpcfg |