Skip to content

Update check_shell.yml #8

Update check_shell.yml

Update check_shell.yml #8

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Check Shell Scripts
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
paths:
- "**.sh"
- ".github/workflows/check_shell.yml"
# 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 "build"
build:
# 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: Checkout Project
uses: actions/checkout@v4.1.7
- name: Now what is happening?
run: |
find . -name "*.sh" -exec echo {} \;
- name: Check Shell Scripts
run: |
find . -name "*.sh" -exec bash -x -n {} \;