Skip to content

Commit

Permalink
Add GitHub Actions configuration to run shellcheck automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Meyerhans committed Apr 7, 2023
1 parent 3906fd6 commit 2939e0f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: shellcheck

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get -y install shellcheck
- name: Run shellcheck
run: shellcheck -s bash -S warning ec2-metadata ec2nvme-nsid ec2udev-vbd

0 comments on commit 2939e0f

Please sign in to comment.