style checks: use latest rustc for cron job
This commit is contained in:
parent
21b05e71a5
commit
8480847ed8
9
src/tools/miri/.github/workflows/ci.yml
vendored
9
src/tools/miri/.github/workflows/ci.yml
vendored
@ -115,7 +115,12 @@ jobs:
|
|||||||
run: cargo install -f rustup-toolchain-install-master
|
run: cargo install -f rustup-toolchain-install-master
|
||||||
|
|
||||||
- name: Install "master" toolchain
|
- name: Install "master" toolchain
|
||||||
run: ./miri toolchain
|
run: |
|
||||||
|
if [[ ${{ github.event_name }} == 'schedule' ]]; then
|
||||||
|
echo "Building against latest rustc git version"
|
||||||
|
git ls-remote https://github.com/rust-lang/rust/ HEAD | cut -f 1 > rust-version
|
||||||
|
fi
|
||||||
|
./miri toolchain
|
||||||
|
|
||||||
- name: Show Rust version
|
- name: Show Rust version
|
||||||
run: |
|
run: |
|
||||||
@ -203,7 +208,7 @@ jobs:
|
|||||||
./miri fmt --check || (./miri fmt && git commit -am "fmt")
|
./miri fmt --check || (./miri fmt && git commit -am "fmt")
|
||||||
- name: Push changes to a branch
|
- name: Push changes to a branch
|
||||||
run: |
|
run: |
|
||||||
BRANCH="rustup$(date -u +%Y-%m-%d)"
|
BRANCH="rustup-$(date -u +%Y-%m-%d)"
|
||||||
git switch -c $BRANCH
|
git switch -c $BRANCH
|
||||||
git push -u origin $BRANCH
|
git push -u origin $BRANCH
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
|
Loading…
Reference in New Issue
Block a user