File tree 1 file changed +7
-2
lines changed
src/tools/miri/.github/workflows
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,12 @@ jobs:
115
115
run : cargo install -f rustup-toolchain-install-master
116
116
117
117
- name : Install "master" toolchain
118
- run : ./miri toolchain
118
+ run : |
119
+ if [[ ${{ github.event_name }} == 'schedule' ]]; then
120
+ echo "Building against latest rustc git version"
121
+ git ls-remote https://github.com/rust-lang/rust/ HEAD | cut -f 1 > rust-version
122
+ fi
123
+ ./miri toolchain
119
124
120
125
- name : Show Rust version
121
126
run : |
@@ -203,7 +208,7 @@ jobs:
203
208
./miri fmt --check || (./miri fmt && git commit -am "fmt")
204
209
- name : Push changes to a branch
205
210
run : |
206
- BRANCH="rustup$(date -u +%Y-%m-%d)"
211
+ BRANCH="rustup- $(date -u +%Y-%m-%d)"
207
212
git switch -c $BRANCH
208
213
git push -u origin $BRANCH
209
214
- name : Create Pull Request
You can’t perform that action at this time.
0 commit comments