Skip to content

Merge pull request #30 from louisroyer-docker/pre-commit-ci-update-co… #44

Merge pull request #30 from louisroyer-docker/pre-commit-ci-update-co…

Merge pull request #30 from louisroyer-docker/pre-commit-ci-update-co… #44

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Shellcheck
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt-get install -qy shellcheck
- name: Run shellcheck
run: find . -type f -iname "*.sh" -execdir shellcheck {} +