Skip to content

Commit

Permalink
docs(guide): Fix heirarchy for CI
Browse files Browse the repository at this point in the history
Things were flat due to the nesting level they were at and this was
overlooked when changing the levels in rust-lang#12595
  • Loading branch information
epage committed Sep 6, 2023
1 parent 05d9c90 commit 959ae71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/src/guide/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

A basic CI will build and test your projects:

## GitHub Actions
### GitHub Actions

To test your package on GitHub Actions, here is a sample `.github/workflows/ci.yml` file:

Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:

This will test all three release channels (note a failure in any toolchain version will fail the entire job). You can also click `"Actions" > "new workflow"` in the GitHub UI and select Rust to add the [default configuration](https://github.com/actions/starter-workflows/blob/main/ci/rust.yml) to your repo. See [GitHub Actions documentation](https://docs.github.com/en/actions) for more information.

## GitLab CI
### GitLab CI

To test your package on GitLab CI, here is a sample `.gitlab-ci.yml` file:

Expand Down Expand Up @@ -67,7 +67,7 @@ breakage in nightly will not fail your overall build. Please see the
[GitLab CI documentation](https://docs.gitlab.com/ce/ci/yaml/index.html) for more
information.
## builds.sr.ht
### builds.sr.ht
To test your package on sr.ht, here is a sample `.build.yml` file.
Be sure to change `<your repo>` and `<your project>` to the repo to clone and
Expand Down

0 comments on commit 959ae71

Please sign in to comment.