about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-02 12:03:13 +0000
committerbors <bors@rust-lang.org>2023-07-02 12:03:13 +0000
commit918f39375f4778a6a692cffc9d11cbfe381db4a3 (patch)
treefc842f28fbeedc0c0d90953c8610538af971ceba
parent9e49f537c8bad886201120c41a3e9bd4b74240b2 (diff)
parent7adf8dd3455e010c3d1a96e4b65c8edc01e6aa07 (diff)
downloadrust-918f39375f4778a6a692cffc9d11cbfe381db4a3.tar.gz
rust-918f39375f4778a6a692cffc9d11cbfe381db4a3.zip
Auto merge of #2949 - RalfJung:cron, r=RalfJung
cronjob auto-PR: fetch more of the history
-rw-r--r--src/tools/miri/.github/workflows/ci.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index 39b49f2eaec..747ac1f32ab 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.github/workflows/ci.yml
@@ -112,14 +112,10 @@ jobs:
 
       - name: Install rustup-toolchain-install-master
         if: ${{ steps.cache.outputs.cache-hit != 'true' }}
-        shell: bash
-        run: |
-          cargo install -f rustup-toolchain-install-master
+        run: cargo install -f rustup-toolchain-install-master
 
       - name: Install "master" toolchain
-        shell: bash
-        run: |
-          ./miri toolchain
+        run: ./miri toolchain
 
       - name: Show Rust version
         run: |
@@ -188,6 +184,8 @@ jobs:
             --user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com
       # Attempt to auto-sync with rustc
       - uses: actions/checkout@v3
+        with:
+          fetch-depth: 256 # get a bit more of the history
       - name: install josh-proxy
         run: cargo +stable install josh-proxy --git https://github.com/josh-project/josh --tag r22.12.06
       - name: start josh-proxy
@@ -197,10 +195,7 @@ jobs:
           git config --global user.name 'The Miri Conjob Bot'
           git config --global user.email 'miri@cron.bot'
       - name: get changes from rustc
-        run: |
-          git status # just to see more of what is happening
-          git checkout master # by default we are not on a branch
-          ./miri rustc-pull
+        run: ./miri rustc-pull
       - name: Install rustup-toolchain-install-master
         run: cargo install -f rustup-toolchain-install-master
       - name: format changes (if any)