Skip to content

Minor book improvements and shellcheck CI (#194) #2

Minor book improvements and shellcheck CI (#194)

Minor book improvements and shellcheck CI (#194) #2

Workflow file for this run

name: ShellCheck eBook
on:
push:
branches: [main]
paths:
- "ebook/en/content/**"
- "scripts/shellcheck-ebook.sh"
pull_request:
paths:
- "ebook/en/content/**"
- "scripts/shellcheck-ebook.sh"
jobs:
shellcheck:
name: Lint bash code blocks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install ShellCheck
run: sudo apt-get update && sudo apt-get install -y shellcheck
- name: Run ShellCheck on ebook code blocks
run: ./scripts/shellcheck-ebook.sh ebook/en/content