mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 15:31:32 +03:00
Update clippy logic
This commit is contained in:
parent
f2c5f3b266
commit
c481f19fa7
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@ -39,21 +39,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: -Dwarnings
|
RUSTFLAGS: -Dwarnings
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
# - nightly
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Rust (${{ matrix.rust }})
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
components: clippy
|
components: clippy
|
||||||
|
|
||||||
@ -68,14 +62,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: --examples --all-features --all
|
args: --examples --all-features --all
|
||||||
if: matrix.rust == 'stable'
|
|
||||||
|
|
||||||
# - name: Check benchmarks on nightly
|
- name: Check benchmarks on nightly
|
||||||
# uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
# with:
|
with:
|
||||||
# command: clippy
|
command: clippy
|
||||||
# args: --all-features --examples --all --benches
|
args: --all-features --examples --all --benches
|
||||||
# if: matrix.rust == 'nightly'
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
|
Loading…
Reference in New Issue
Block a user