Skip to content

Commit 09317fd

Browse files
committed
Run ShellCheck against script in CI
1 parent 15a2b70 commit 09317fd

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ indent_size = 4
99
charset = utf-8
1010
trim_trailing_whitespace = true
1111
insert_final_newline = true
12+
13+
[*.{yaml,yml}]
14+
indent_size = 2

.github/workflows/tests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Tests
3+
4+
on:
5+
push: ~
6+
pull_request: ~
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
fetch-depth: 0
18+
19+
- name: Run ShellCheck
20+
uses: ludeeus/action-shellcheck@master
21+
with:
22+
severity: style

0 commit comments

Comments
 (0)