Skip to content

Commit

Permalink
add shellcheck GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
miabbott authored and nullr0ute committed Nov 22, 2022
1 parent 5a3be83 commit 7a85379
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Run CI tests
on:
on:
- push
- pull_request
jobs:
Expand All @@ -10,4 +10,15 @@ jobs:
- name: Build the Docker image
run: docker build . --file Dockerfile --tag test-image
- name: Run tests
run: docker run --rm --name test-greenboot -v /run/systemd/journal:/run/systemd/journal test-image
run: docker run --rm --name test-greenboot -v /run/systemd/journal:/run/systemd/journal test-image
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x
with:
ignore_paths: tests

0 comments on commit 7a85379

Please sign in to comment.