Skip to content

Add connect script and instruction marker module (#48 PR-3a) (#52) #41

Add connect script and instruction marker module (#48 PR-3a) (#52)

Add connect script and instruction marker module (#48 PR-3a) (#52) #41

Workflow file for this run

# self-tests と repository checks を PR / push ごとに実行する。
# scripts は macOS 標準 Ruby 前提なので macOS runner を使う。
# 外部 dependency の install と secrets は不要。
name: test
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
self-tests:
runs-on: macos-latest
steps:
# 外部 action は full commit SHA で pin する (タグ移動による差し替え対策)。
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
# テストが repo 内の scripts を実行するため、token を .git/config に残さない。
persist-credentials: false
- name: Run self-tests
run: |
for t in scripts/tests/*.sh; do
echo "--- $t"
"$t"
done
- name: Check repository assets
run: |
scripts/check-manifests.sh
scripts/check-injection.sh
- name: Build, register, and report status
run: |
scripts/build.sh
scripts/register.sh
scripts/status.sh --json
scripts/doctor.sh