Skip to content

Commit 2939e0f

Browse files
author
Noah Meyerhans
committed
Add GitHub Actions configuration to run shellcheck automatically
1 parent 3906fd6 commit 2939e0f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/shellcheck.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: shellcheck
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Install dependencies
18+
run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get -y install shellcheck
19+
- name: Run shellcheck
20+
run: shellcheck -s bash -S warning ec2-metadata ec2nvme-nsid ec2udev-vbd

0 commit comments

Comments
 (0)