diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 7cda3e477d..a80470cf16 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -420,7 +420,7 @@ jobs: channel: stable cache-target: release - name: Run Makefile to trigger the bash script - run: make cli + run: make cli-local # This job succeeds ONLY IF all others succeed. It is used by the merge queue to determine whether # a PR is safe to merge. New jobs should be added here. test-suite-success: diff --git a/Makefile b/Makefile index 35fe19d927..32665d43ae 100644 --- a/Makefile +++ b/Makefile @@ -183,9 +183,15 @@ test-exec-engine: # test vectors. test: test-release +# Updates the CLI help text pages in the Lighthouse book, building with Docker. +cli: + docker run --rm --user=root \ + -v ${PWD}:/home/runner/actions-runner/lighthouse sigmaprime/github-runner \ + bash -c 'cd lighthouse && make && ./scripts/cli.sh' + # Updates the CLI help text pages in the Lighthouse book, building using local # `cargo`. -cli: +cli-local: make && ./scripts/cli.sh # Check for markdown files