system-bluetooth-bluetoothctl: add bluetooth battery reporting #547
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: 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 {} + |