Skip to content

docs: single live skill install; profile is workspace only #4

docs: single live skill install; profile is workspace only

docs: single live skill install; profile is workspace only #4

Workflow file for this run

name: validate
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: bash -n shipped script
run: |
set -euo pipefail
root="skills/software-development/scripts-bash"
test -f "$root/SKILL.md"
test -f "$root/references/authoring.md"
test -f "$root/references/screaming-snake-case-variables.md"
test -f "$root/templates/template-base.sh"
test ! -e "$root/references/template-base.sh"
test ! -e "$root/examples"
bash -n "$root/templates/template-base.sh"
echo "OK"
- name: shellcheck
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq shellcheck
shellcheck -x skills/software-development/scripts-bash/templates/template-base.sh