Browse Source

Clippy fix (#11)

* ci: allow unknown lints

* ci: remove deny warnings

Co-authored-by: Garrit Franke <garrit@slashdev.space>
match-statements
Garrit Franke 3 years ago committed by GitHub
parent
commit
5e7724a8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/ci.yml
  2. 2
      src/main.rs

4
.github/workflows/ci.yml

@ -74,11 +74,11 @@ jobs:
directory: ${{ runner.temp }}/llvm
- uses: actions-rs/toolchain@v1
with:
profile: default
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings
args: --all-targets --all-features # -- -D warnings <-- Doesn't work yet; TODO

2
src/main.rs

@ -1,3 +1,5 @@
#![allow(unknown_lints)]
/**
* Copyright 2020 Garrit Franke
*

Loading…
Cancel
Save