mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Enable clippy on CI
This commit is contained in:
parent
4e26084051
commit
5549614cb3
1 changed files with 18 additions and 26 deletions
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
|
@ -34,35 +34,27 @@ jobs:
|
|||
toolchain: stable
|
||||
override: true
|
||||
- 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
|
||||
name: cargo fmt --check
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
# clippy:
|
||||
# name: Clippy
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v1
|
||||
# - name: Install LLVM
|
||||
# run: sudo ./ci/install-llvm.sh 8
|
||||
# - uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# - run: rustup component add clippy
|
||||
# - uses: actions-rs/cargo@v1
|
||||
# name: cargo clippy
|
||||
# with:
|
||||
# command: clippy
|
||||
# args: -- -D warnings
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install LLVM
|
||||
run: sudo ./ci/install-llvm.sh 8
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup component add clippy
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: cargo clippy
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue