Skip to content

GHA: Run unit tests - take 2 [#5] #28

GHA: Run unit tests - take 2 [#5]

GHA: Run unit tests - take 2 [#5] #28

Workflow file for this run

on: [push, pull_request]
name: shellcheck
jobs:
checks:
if: "! contains(github.event.head_commit.message, '[ci skip]')"
timeout-minutes: 2
runs-on: ubuntu-22.04
name: shellcheck
strategy:
fail-fast: false
env:
VERSION: 0.9.0
steps:
- name: Checkout git repository
uses: actions/checkout@v3
- name: Install ShellCheck
run: |
curl --silent -L -O "https://github.com/koalaman/shellcheck/releases/download/v$VERSION/shellcheck-v$VERSION.linux.x86_64.tar.xz"
tar Jxf "shellcheck-v$VERSION.linux.x86_64.tar.xz"
mv "shellcheck-v$VERSION/shellcheck" .
./shellcheck --version
- name: ShellCheck
run: |
./shellcheck -- x86-64-level
./shellcheck -- tests/x86-64-level.sh