mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51: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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue