github: use minimal profile for clippy actions

We should only need the `minimal` profile. Also, we already have
configured the action to use the `clippy` component, so I don't think
we need to explicitly add it with a separate `run` action.
This commit is contained in:
Martin von Zweigbergk 2022-03-07 21:23:53 -08:00 committed by Martin von Zweigbergk
parent 5721436558
commit f112b5225c

View file

@ -38,9 +38,9 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -54,9 +54,9 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: clippy
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}