@@ -726,42 +726,14 @@ jobs:
726
726
runs-on : ubuntu-latest
727
727
steps :
728
728
729
- # Cargo-make boilerplate
730
- - name : Get cargo-make version
731
- id : cargo-make-version
732
- run : |
733
- echo "::set-output name=hash::$(cargo search cargo-make | grep '^cargo-make =' | md5sum)"
734
- shell : bash
735
- - name : Attempt to load cached cargo-make
736
- uses : actions/cache@v2
737
- id : cargo-make-cache
738
- with :
739
- path : |
740
- ~/.cargo/bin/cargo-make
741
- ~/.cargo/bin/cargo-make.exe
742
- key : ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
743
- - name : Install cargo-make
744
- if : steps.cargo-make-cache.outputs.cache-hit != 'true'
745
- uses :
actions-rs/[email protected]
746
- with :
747
- crate : cargo-make
748
- version : latest
729
+ # We don't expect to keep being clippy-clean on nightly Rust,
730
+ # so the "toolchain boilerplate" is deliberately omitted
749
731
750
- # Check if we need to force-nightly
751
- - name : Check if we need to force-nightly
752
- id : force_nightly
753
- run : |
754
- force_nightly_status=$(cargo make check-needs-force-nightly-ci)
755
- echo "::set-output name=force_nightly_status::${force_nightly_status}"
756
732
# Clippy job > Install and run clippy steps
757
-
758
- # We don't expect to keep being clippy-clean on nightly Rust
759
733
- name : Install clippy
760
- if : steps.force_nightly.outputs.force_nightly_status != 'true'
761
734
run : rustup component add clippy
762
735
763
736
-
uses :
actions-rs/[email protected]
764
- if : steps.force_nightly.outputs.force_nightly_status != 'true'
765
737
with :
766
738
token : ${{ secrets.GITHUB_TOKEN }}
767
739
# keep args in sync with `clippy-all` in .cargo/config.toml
0 commit comments