Skip to content

Commit

Permalink
CI: shellcheck: add job for all our shell scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Göhrs <[email protected]>
  • Loading branch information
hnez committed Dec 12, 2023
1 parent 461ee86 commit 26dfd20
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 26dfd20

Please sign in to comment.