Skip to content

Code Testing

Code Testing #2413

Workflow file for this run

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