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.
@@ -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 }}
