mirror of
https://github.com/netdata/libbpf.git
synced 2026-11-05 17:30:15 +08:00
ci: enable shellcheck linter
Run shellckeck linter in a github action, as in https://github.com/libbpf/ci/pull/61 Signed-off-by: Matteo Croce <teknoraver@meta.com>
This commit is contained in:
1 parent
1c17672353
commit
c97b16d96c
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
name: "lint"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: ShellCheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
env:
|
||||
SHELLCHECK_OPTS: --severity=error
|
||||
Reference in new issue
Block a user