Skip to content

Commit

Permalink
CI: Add a bash linter to pre-submits
Browse files Browse the repository at this point in the history
Warns about shellcheck issues with severity `error`.
  • Loading branch information
mandre committed Sep 23, 2024
1 parent 3529811 commit b2c9dc3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint github actions"

on:
push:
branches:
- master

name: "Trigger: Push action"
permissions: {}

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error

0 comments on commit b2c9dc3

Please sign in to comment.