Skip to content

Commit 918f393

Browse files
committed
Auto merge of rust-lang#2949 - RalfJung:cron, r=RalfJung
cronjob auto-PR: fetch more of the history
2 parents 9e49f53 + 7adf8dd commit 918f393

File tree

1 file changed

+5
-10
lines changed
  • src/tools/miri/.github/workflows

1 file changed

+5
-10
lines changed

src/tools/miri/.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,10 @@ jobs:
112112

113113
- name: Install rustup-toolchain-install-master
114114
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
115-
shell: bash
116-
run: |
117-
cargo install -f rustup-toolchain-install-master
115+
run: cargo install -f rustup-toolchain-install-master
118116

119117
- name: Install "master" toolchain
120-
shell: bash
121-
run: |
122-
./miri toolchain
118+
run: ./miri toolchain
123119

124120
- name: Show Rust version
125121
run: |
@@ -188,6 +184,8 @@ jobs:
188184
--user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com
189185
# Attempt to auto-sync with rustc
190186
- uses: actions/checkout@v3
187+
with:
188+
fetch-depth: 256 # get a bit more of the history
191189
- name: install josh-proxy
192190
run: cargo +stable install josh-proxy --git https://github.com/josh-project/josh --tag r22.12.06
193191
- name: start josh-proxy
@@ -197,10 +195,7 @@ jobs:
197195
git config --global user.name 'The Miri Conjob Bot'
198196
git config --global user.email '[email protected]'
199197
- name: get changes from rustc
200-
run: |
201-
git status # just to see more of what is happening
202-
git checkout master # by default we are not on a branch
203-
./miri rustc-pull
198+
run: ./miri rustc-pull
204199
- name: Install rustup-toolchain-install-master
205200
run: cargo install -f rustup-toolchain-install-master
206201
- name: format changes (if any)

0 commit comments

Comments
 (0)