Skip to content

Added detection logic for energy or charge based reporting #587

Added detection logic for energy or charge based reporting

Added detection logic for energy or charge based reporting #587

Workflow file for this run

name: Codecheck
on: [push, pull_request]
jobs:
ShellCheck:
runs-on: ubuntu-latest
steps:
- name: Install ShellCheck
run: |
wget -O /opt/shellcheck-stable.linux.x86_64.tar.xz https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz
tar xf /opt/shellcheck-stable.linux.x86_64.tar.xz -C /opt
- name: Print installed ShellCheck version
run: /opt/shellcheck-stable/shellcheck --version
- name: Check out the repository
uses: actions/checkout@v3
- name: Run ShellCheck on all files
run: find . '(' -name '*.sh' ')' -exec /opt/shellcheck-stable/shellcheck {} +