Skip to content

Commit

Permalink
Add shellcheck action
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekHaav authored Mar 28, 2022
1 parent 2e9ef54 commit 2c4c99e
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

on:
push:
paths:
- '*.sh'
pull_request:
workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Lint script
uses: azohra/shell-linter@v0.5.0
with:
path: '*.sh'

0 comments on commit 2c4c99e

Please sign in to comment.