fixed: added uses command
@@ -7,6 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: nightly
+ override: true
+ components: rustfmt, clippy
- name: Cargo fmt
run: cargo +nightly fmt --all -- --check
- name: Cargo clippy
