Skip to content

Merge pull request #8 from Cyclenerd/dependabot/github_actions/action… #14

Merge pull request #8 from Cyclenerd/dependabot/github_actions/action…

Merge pull request #8 from Cyclenerd/dependabot/github_actions/action… #14

Workflow file for this run

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:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "test"
shellcheck:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install dependencies 🔧
run: sudo apt-get install shellcheck
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout 🛎️
uses: actions/checkout@v4
# Run ShellCheck
- name: ShellCheck 🔎
run: shellcheck gallery.sh