Skip to content

Commit

Permalink
rustup update instead
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Oct 30, 2024
1 parent 8996b38 commit 50e0d43
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
- name: Install required packages
run: |
sudo apt-get update -qy && \
sudo apt-get install build-essential curl gcc-multilib gcc-riscv64-unknown-elf git
sudo apt-get install build-essential curl gcc-multilib gcc-riscv64-unknown-elf git \
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
rustup update
- name: Restore sccache binary
uses: actions/cache/restore@v3
Expand Down Expand Up @@ -86,13 +88,6 @@ jobs:
git diff Cargo.lock
exit 1
)
- name: Run cargo build
run: |
cargo --config "$EXTRA_CARGO_CONFIG" build --locked
sccache --show-stats
- name: Install llvm-tools
run: rustup component add llvm-tools --toolchain nightly
- name: Run precheckin
run: |
Expand Down

0 comments on commit 50e0d43

Please sign in to comment.