Skip to content

Commit

Permalink
style checks: use latest rustc for cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 15, 2023
1 parent 80ad363 commit 83567dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ jobs:
run: cargo install -f rustup-toolchain-install-master

- 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 --host ${{ matrix.host_target }}
- name: Show Rust version
run: |
Expand Down

0 comments on commit 83567dd

Please sign in to comment.