ci / test (pull_request) Successful in 1m17s
Why: the job token only authorizes the event repository; sibling private submodules (Development-Guidelines et al.) returned 404 on the first run. Evidence: run 194 log — clone of deps/development-guidelines failed with repository not found despite the insteadOf rewrite. Impact: ci.yaml reads secrets.SUBMODULE_TOKEN (stored via API, never in tree or chat); no other change. Refs: run 194; PR#11
28 lines
762 B
YAML
28 lines
762 B
YAML
name: ci
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Configure submodule auth over HTTPS
|
|
run: git config --global url."https://weichen:${{ secrets.SUBMODULE_TOKEN }}@git-home.u1680832.nyat.app:30319/".insteadOf "ssh://git@git-ssh.u1680832.nyat.app:31411/"
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.27"
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
- name: Combination test (core + backend + frontend)
|
|
run: make test
|
|
- name: Build the single binary
|
|
run: make build
|