Merge tag 'v1.4.6' into develop #43
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: Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [master, develop] | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build Nextshot | |
run: make | |
- name: Enable problem matcher | |
run: | | |
echo "::add-matcher::.github/problem-matcher-gcc.json" | |
- name: Fetch Latest Shellcheck | |
run: | | |
dlpath="https://github.com/koalaman/shellcheck/releases/download/stable" | |
curl -Lo ./shellcheck.tar.xz "${dlpath}/shellcheck-stable.linux.x86_64.tar.xz" | |
tar -xf ./shellcheck.tar.xz | |
mv ./shellcheck-stable/shellcheck ./shellcheck | |
- name: Run Shellcheck | |
run: | | |
./shellcheck -axP src --format=gcc -S warning release src/main.bash |