ci: run tests on Apple silicon runners #1413
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: Unused deps | |
jobs: | |
udeps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Setup nightly toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
with: | |
cache-on-failure: true | |
- name: Install udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-udeps | |
- name: Run udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: udeps |