Update CI config (reference enabled)

This commit is contained in:
Ivan Smirnov 2022-01-03 15:59:24 +03:00
parent c59f6ac686
commit df48b77f23

View file

@ -19,13 +19,17 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: {profile: minimal, toolchain: '${{ matrix.rust }}', override: true} with: {profile: minimal, toolchain: '${{ matrix.rust }}', override: true}
- run: cargo test - run: cargo test
clippy: reference:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
rust: [beta]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: {profile: minimal, toolchain: '${{ matrix.rust }}', override: true, components: clippy} with: {profile: minimal, toolchain: stable, override: true}
- run: cargo test --features=reference
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with: {profile: minimal, toolchain: beta, override: true, components: clippy}
- run: cargo clippy - run: cargo clippy