Skip to content

Commit 2045165

Browse files
committed
Update CI workflow to use rustc-josh-sync
1 parent 02bad6b commit 2045165

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/rustc-pull.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424
run: rustup update stable
2525
- uses: Swatinem/rust-cache@v2
2626
with:
27-
workspaces: "josh-sync"
2827
# Cache the josh directory with checked out rustc
29-
cache-directories: "/home/runner/.cache/rustc-dev-guide-josh"
30-
- name: Install josh
31-
run: RUSTFLAGS="--cap-lints warn" cargo install josh-proxy --git https://github.com/josh-project/josh --tag r24.10.04
28+
cache-directories: "/home/runner/.cache/rustc-josh"
29+
- name: Install rustc-josh-sync
30+
run: cargo install --locked --git https://github.com/rust-lang/josh-sync
3231
- name: Setup bot git name and email
3332
run: |
3433
git config --global user.name 'The rustc-dev-guide Cronjob Bot'
@@ -38,7 +37,7 @@ jobs:
3837
# Turn off -e to disable early exit
3938
shell: bash {0}
4039
run: |
41-
cargo run --manifest-path josh-sync/Cargo.toml -- rustc-pull
40+
rustc-josh-sync pull
4241
exitcode=$?
4342
4443
# If no pull was performed, we want to mark this job as successful,

0 commit comments

Comments
 (0)