Skip to content

Commit

Permalink
Remove unnecessary toolchain action
Browse files Browse the repository at this point in the history
The GitHub runners include rustup and a recent stable Rust. We only
need to add the necessary target and we’re good to go.

This removes a lot of warnings because the action used an outdated
GitHub API: actions-rs/toolchain#219
  • Loading branch information
mgeisler committed May 8, 2023
1 parent f0aeedc commit 417ea57
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ jobs:
run: sudo apt update && sudo apt install gcc-aarch64-linux-gnu

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}

- name: Build Rust code
working-directory: ${{ matrix.directory }}
Expand Down

0 comments on commit 417ea57

Please sign in to comment.