mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-18 23:39:06 +08:00
Run shellckeck linter in a github action, as in https://github.com/libbpf/ci/pull/61 Signed-off-by: Matteo Croce <teknoraver@meta.com>
20 lines
352 B
YAML
20 lines
352 B
YAML
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
|