Skip to content

Commit

Permalink
test: add shellcheck linting
Browse files Browse the repository at this point in the history
  • Loading branch information
primeare committed May 29, 2023
1 parent 3f211e5 commit af217b5
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workstation setup test
name: Quality Checks
run-name: ${{ github.workflow }} of commit ${{ github.sha }} on ${{ github.ref_name }} by ${{ github.actor }}

on: [push]
Expand All @@ -12,6 +12,24 @@ defaults:
shell: bash

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- id: ShellCheck
name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

setup-and-test:
name: Setup workstation and test
strategy:
Expand Down

0 comments on commit af217b5

Please sign in to comment.