Example: plain GitHub Actions
The Bazel Rules Authors SIG maintains a shared Action that can setup Bazel: https://github.com/bazel-contrib/setup-bazel You can see this in action in the bazel-examples repository: https://github.com/aspect-build/bazel-examples/blob/main/.github/workflows/ci.yamlExercise: get a CI status
Try making some edits in the bazel-examples repository. Now you want to get a status from a remote service:- Create a fork on GitHub
- Push your code to a branch
- Create a Pull Request. You can make it a Draft, and close it after you’re done experimenting.
.github/workflows/ci.yaml,
you should get a yellow status icon, with a pending CI run.
- Persistent vs. Ephemeral CI runners
- Remote Caching (and maybe Remote Build Execution)
- Buildcop: keeping it green

