Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/aomp-shell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: AOMP Lint

on:
push:
pull_request:

jobs:
aomp-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Run shellcheck
run: |
find . -name "*.sh" | xargs shellcheck -S info {} \;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The syntax is wrong, which must be

Suggested change
find . -name "*.sh" | xargs shellcheck -S info {} \;
find . -name "*.sh" -exec shellcheck -S info {} +

or

Suggested change
find . -name "*.sh" | xargs shellcheck -S info {} \;
find . -name "*.sh" | xargs shellcheck -S info

Loading