From f112b5225cc00aca9b68d45615933fb61ec68863 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Mon, 7 Mar 2022 21:23:53 -0800 Subject: [PATCH] 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. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 146f473fe..e0a589776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}