Update CI workflow to use rustc-josh-sync

This commit is contained in:
Jakub Beránek 2025-07-04 11:44:58 +02:00
parent 92144e1ee1
commit 13dca5e1ba
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -24,11 +24,10 @@ jobs:
run: rustup update stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: "josh-sync"
# Cache the josh directory with checked out rustc
cache-directories: "/home/runner/.cache/rustc-dev-guide-josh"
- name: Install josh
run: RUSTFLAGS="--cap-lints warn" cargo install josh-proxy --git https://github.com/josh-project/josh --tag r24.10.04
cache-directories: "/home/runner/.cache/rustc-josh"
- name: Install rustc-josh-sync
run: cargo install --locked --git https://github.com/rust-lang/josh-sync
- name: Setup bot git name and email
run: |
git config --global user.name 'The rustc-dev-guide Cronjob Bot'
@ -38,7 +37,7 @@ jobs:
# Turn off -e to disable early exit
shell: bash {0}
run: |
cargo run --manifest-path josh-sync/Cargo.toml -- rustc-pull
rustc-josh-sync pull
exitcode=$?
# If no pull was performed, we want to mark this job as successful,