Skip to content

CI [skip appveyor]

CI [skip appveyor] #9

Workflow file for this run

name: Shellcheck linting
# This is required
on:
push:
jobs:
shellcheck:
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/pipeline-components/shellcheck:latest
steps:
- name: Preinstall
run: |
apk add --no-cache git jq
git config --global --add safe.directory '*'
- name: Checkout repository
uses: actions/checkout@v4 # This step will also run inside the container
with:
submodules: false
- name: Run ShellCheck
run: "${GITHUB_WORKSPACE}/.github/shell_check.bsh"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ShellCheck-results
path: /tmp/results/shellcheck.json