Skip to content

Commit

Permalink
Merge pull request #315 from phansys/shellcheck
Browse files Browse the repository at this point in the history
Lint shell scripts with ShellCheck
  • Loading branch information
derrabus committed Apr 25, 2023
2 parents 99b196d + a6bb07d commit c0fb0e6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci-shell-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions

name: "Continuous Integration for shell scripts"

on:
pull_request:
paths:
- ".github/workflows/ci-shell-scripts.yml"
- "bin/**"
push:
branches:
- "*.*.x"
paths:
- ".github/workflows/ci-shell-scripts.yml"
- "bin/**"
schedule:
- cron: "0 17 * * *"

jobs:
lint-shell-scripts:
name: "Lint shell scripts"

runs-on: "ubuntu-22.04"

steps:
- name: "Checkout"
uses: "actions/checkout@v3"

- name: "Lint shell scripts with ShellCheck"
uses: "ludeeus/action-shellcheck@2.0.0"
with:
scandir: "./bin"
check_together: "yes"

0 comments on commit c0fb0e6

Please sign in to comment.