Enable clippy on CI

This commit is contained in:
Richard Feldman 2019-11-21 07:06:26 -05:00
parent 4e26084051
commit 5549614cb3

View file

@ -34,35 +34,27 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- run: rustup component add rustfmt - run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
name: cargo clean
with:
command: clean
- uses: actions-rs/cargo@v1
name: cargo update
with:
command: update
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
name: cargo fmt --check name: cargo fmt --check
with: with:
command: fmt command: fmt
args: --all -- --check args: --all -- --check
# clippy: clippy:
# name: Clippy name: Clippy
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v1 - uses: actions/checkout@v1
# - name: Install LLVM - name: Install LLVM
# run: sudo ./ci/install-llvm.sh 8 run: sudo ./ci/install-llvm.sh 8
# - uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
# with: with:
# profile: minimal profile: minimal
# toolchain: stable toolchain: stable
# override: true override: true
# - run: rustup component add clippy - run: rustup component add clippy
# - uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
# name: cargo clippy name: cargo clippy
# with: with:
# command: clippy command: clippy
# args: -- -D warnings args: -- -D warnings