about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/.github
AgeCommit message (Collapse)AuthorLines
2025-07-10Migrate rustc-pull to CI workflow from `josh-sync`Jakub Beránek-102/+9
2025-07-04Update CI workflow to use rustc-josh-syncJakub Beránek-5/+4
2025-04-28Update mdbook to 0.4.48Eric Huss-1/+1
This updates to the latest version of mdbook which has had a variety of fixes of new features since the last update. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0448
2025-04-19toolchain version does not need to be specifiedTshepang Mbambo-1/+1
- Rust backcompat removes the need to specify the version here - Using these commands can result in a needless toolchain getting downloaded, like in the case where user only has Nightly installed
2025-03-19Set linkcheck in `ci.yml`Jakub Beránek-0/+1
2025-02-25Fix posting message to ZulipJakub Beránek-1/+1
2025-02-16Bump mdbook-linkcheck2 dependency versionMartin Liska-1/+1
2025-02-15Merge pull request #2246 from marxin/CI-more-ofterNoah Lev-2/+2
Run CI multiple times a day
2025-02-15Fix CI scheduleMartin Liska-1/+1
2025-02-14Start using latest release where -f checks all local linksMartin Liska-1/+1
2025-02-12Run CI multiple times a dayMartin Liska-2/+2
2025-02-03Make the rustc-pull workflow run less oftenJakub Beránek-2/+2
2025-02-01Checkout repository sources in rustc-pull CI actionJakub Beránek-0/+1
This is needed for the `gh` command to work.
2025-01-31Pass `GITHUB_TOKEN` to Zulip CI stepJakub Beránek-2/+4
2025-01-30Run rustc-pull CI every day, don't notify when there is nothing to updateJakub Beránek-7/+33
2025-01-27Fix rustc-pull CI's bash commandsJakub Beránek-2/+2
2025-01-25CI: use key-restore for cache GH actionMartin Liska-2/+4
It seems one can't overwrite a cache entry: ``` Failed to save: Unable to reserve cache with key linkcheck--0.8.1, another job may be creating this cache. More details: Cache already exists. Scope: refs/heads/master, Key: linkcheck--0.8.1, Version: 33f8fd511bed9c91c40778bc5c27cb58425caa894ab50f9c5705d83cb78660e0 Warning: Cache save failed. ``` A proper solution is to use `restore-keys`: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
2025-01-20Send a message to Zulip when a sync finishesJakub Beránek-2/+32
2025-01-15Merge pull request #2202 from Kobzol/pull-ci许杰友 Jieyou Xu (Joe)-0/+55
2025-01-11Add CI workflow for performing rustc-pullJakub Beránek-0/+55
2025-01-09ci: Remove incorrect use of `continue-on-error`Noah Lev-2/+1
This will cause the CI build to be marked successful even if the build failed. Instead, use `if: '!cancelled()'` to always save the cache (except when the job is cancelled), even if the linkcheck failed. See https://stackoverflow.com/a/58859404 for more.
2025-01-08Update keyMartin Liska-3/+3
2025-01-08Save linkcheck cache alwaysMartin Liska-6/+16
2024-12-30Opt into, rather than out of, linkcheck (#2180)Noah Lev-1/+1
This makes it less of a hassle to render the book locally.
2024-12-28Start using mdbook-linkcheck2 (#2103)Martin Liška-3/+3
2024-03-30Delete length check (#1952)Nilstrieb-6/+0
It's super annoying to be forced to use this bad convention, and apparently everyone agrees. The only reason no improvements have been done is because those were blocked on writing a better checker. I strongly believe that no checker is better than a bad checker, so let's just delete it in the meantime. I kindly asked anyone who sees this to complain about overly long sentences in review in the future, I think we can make this turn out fine.
2024-01-28Upgrade actions to use Node.js v20 (#1863)Yuki Okushi-5/+5
2023-04-09Various improvements to `check_line_lengths.sh` (#1667)jyn-1/+1
2023-02-18Bump dependencies to fix CI (#1610)Noah Lev-2/+2
2023-01-28Use ephemeral PAT for linkcheckYuki Okushi-0/+1
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-08chore: Update `actions/github-script` to v6Yuki Okushi-3/+2
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22Update mdbook and its extensions versionsYuki Okushi-4/+4
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22Remove unmaintained actionYuki Okushi-4/+3
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-09-22Update some actions versionsYuki Okushi-4/+4
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-07-17add mdbook-mermaidNiko Matsakis-1/+3
2021-11-04Ensure date-check cron job is using latest stable RustNoah Lev-0/+4
This should prevent future failures like this one [1]. [1]: https://github.com/rust-lang/rustc-dev-guide/runs/4067460927?check_suite_focus=true
2021-08-15update mdbook version to latestTshepang Lekhonkhobe-1/+1
v0.4.7 didn't have the feature to allow this See https://github.com/rust-lang/rustc-dev-guide/pull/1180#issuecomment-899128718
2021-04-27Trigger GHA only on the original repoYuki Okushi-1/+3
2021-03-10Switch from Travis to GHA (#1073)Yuki Okushi-0/+77
2021-02-03Implement date-checkerCamelid-0/+44
This tool looks for HTML comments like `<!-- date: 2021-01 -->` in each Markdown source file and compiles a list of dates that are older than six months. It then opens an issue with that list, with checkboxes for each file and date. Note that it will only open an issue if there was at least one date older than six months; it does nothing if the list is empty. This tool is automatically run monthly in a GitHub Actions workflow. I have tested the tool on a private repo and confirmed that it works.