Skip to content

Commit

Permalink
actions: shellcheck test code
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Nov 12, 2023
1 parent e5e06db commit 72436ad
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: shellcheck
on: [pull_request]
on:
pull_request:
jobs:

shellcheck:
name: runner / shellcheck
code:
name: grml-debootstrap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,3 +20,18 @@ jobs:
config
tests/shellcheck-stub-debootstrap-variables
check_all_files_with_shebangs: "false"

tests:
name: test scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: "."
pattern: |
tests/*
check_all_files_with_shebangs: "false"

0 comments on commit 72436ad

Please sign in to comment.