diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml new file mode 100644 index 00000000..a8b6e50e --- /dev/null +++ b/.github/workflows/shellcheck.yaml @@ -0,0 +1,17 @@ +name: shellcheck + +on: + pull_request: + paths: + - '.github/workflows/shellcheck.yml' + - '**.sh' + +jobs: + shellcheck: + name: shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: sudo apt update + - run: sudo apt install shellcheck + - run: shellcheck --color=always --enable=all $(find meta-lxatac-bsp meta-lxatac-software -name "*.sh")