diff options
author | Roee Shapira <35409124+5c077m4n@users.noreply.github.com> | 2020-11-28 21:02:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 20:02:05 +0100 |
commit | 9ad7b8a35ea34297905ec479dbf87a35802cd8b1 (patch) | |
tree | 6c61f8e74b72b9c8b484f39fe2173d927227bf26 /.github | |
parent | 1586a705d2b36669ee4045b35377d8ddd591ccef (diff) |
chore(infra): added clippy check. (#65)
* Added clippy check.
* Changed step name.
* Used the suggested ci config.
* Some more clippy fixes.
* Some more clippy fixes.
* More clippy fixes.
* Removed allow annotations.
* Minor lint edit.
* More clippy fixes.
* Ran cargo fmt.
* More clippy fixes.
* More clippy fixes.
* More clippy fixes.
* More clippy fixes.
* More clippy fixes.
* More clippy fixes.
* Code review edits.
* Code review edits.
* Code review edits.
* CI update.
* CI update.
* CI update.
* Added clippy warn so wip won't fail ci.
* Cargo fmt.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f31838a6f..5421b5a45 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,7 +11,7 @@ env: jobs: build: - + name: Build & test runs-on: ubuntu-latest steps: @@ -23,6 +23,7 @@ jobs: fmt: name: Rustfmt runs-on: ubuntu-latest + steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -35,4 +36,17 @@ jobs: with: command: fmt args: --all -- --check + clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + components: clippy + - uses: actions-rs/cargo@v1 + with: + command: clippy + args: --all-features --all-targets |