Skip to content

Commit c90096f

Browse files
oleanderCopilot
andauthored
Update .github/workflows/copilot-setup-steps.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2129739 commit c90096f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,15 @@ jobs:
252252
- name: Checkout code
253253
uses: actions/checkout@v5
254254

255-
- name: Setup Rust and install git-ai
255+
- name: Restore Rust cache
256+
uses: Swatinem/rust-cache@v2
257+
with:
258+
cache-on-failure: true
259+
key: ${{ needs.setup-and-validate.outputs.cache-key }}
260+
261+
- name: Install git-ai
256262
run: |
257-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
258263
source ~/.cargo/env
259-
rustup toolchain install nightly
260-
rustup default nightly
261264
cargo install --path . --debug
262265
263266
- name: Install fish shell for integration tests

0 commit comments

Comments
 (0)