diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 728e4a3..ff3399a 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -9,16 +9,11 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v1 - - id: component - name: Search for latest nightly clippy - uses: actions-rs/components-nightly@v1 - with: - target: x86_64-unknown-linux-gnu - component: clippy - name: Install nightly toolchain with clippy available uses: actions-rs/toolchain@v1 with: - toolchain: ${{ steps.component.outputs.toolchain }} + toolchain: nightly + components: clippy override: true - name: Install clippy run: rustup component add clippy @@ -38,16 +33,11 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v1 - - id: component - name: Search for latest nightly rustfmt - uses: actions-rs/components-nightly@v1 - with: - target: x86_64-unknown-linux-gnu - component: rustfmt - name: Install nightly toolchain with rustfmt available uses: actions-rs/toolchain@v1 with: - toolchain: ${{ steps.component.outputs.toolchain }} + toolchain: nightly + components: rustfmt override: true - name: Install rustfmt run: rustup component add rustfmt