Skip to content

Commit

Permalink
Run ShellCheck against script in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Aug 13, 2024
1 parent 15a2b70 commit 09317fd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yaml,yml}]
indent_size = 2
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Tests

on:
push: ~
pull_request: ~

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
fetch-depth: 0

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: style

0 comments on commit 09317fd

Please sign in to comment.