about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-03 12:22:15 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-11-04 09:33:03 -0700
commitff167cfd3b9c479171e4b6ecef507d309e209fd4 (patch)
treea5b08a9232c6c7ba1d4e631d75c52d1dabdcac25 /src/doc/rustc-dev-guide
parent24837dd684d8e60fbdd0ebea8793b0ebb77eb074 (diff)
downloadrust-ff167cfd3b9c479171e4b6ecef507d309e209fd4.tar.gz
rust-ff167cfd3b9c479171e4b6ecef507d309e209fd4.zip
Ensure date-check cron job is using latest stable Rust
This should prevent future failures like this one [1].

[1]: https://github.com/rust-lang/rustc-dev-guide/runs/4067460927?check_suite_focus=true
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/.github/workflows/date-check.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/.github/workflows/date-check.yml b/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
index c787da07122..b808876a42d 100644
--- a/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
+++ b/src/doc/rustc-dev-guide/.github/workflows/date-check.yml
@@ -17,6 +17,10 @@ jobs:
       - name: Checkout repo
         uses: actions/checkout@v2
 
+      - name: Ensure Rust is up-to-date
+        run: |
+          rustup update stable
+
       - name: Run `date-check`
         working-directory: ci/date-check
         run: |