Skip to content

Commit

Permalink
Do not run CI tests on MSRV since support was broken by a dev-depende…
Browse files Browse the repository at this point in the history
…ncy + run clippy on MSRV
  • Loading branch information
eldruin committed Jan 11, 2021
1 parent ef9ccab commit 664aff8
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.TARGET }}
override: true
components: clippy, rustfmt
components: rustfmt

- name: Doc
uses: actions-rs/cargo@v1
Expand All @@ -87,19 +87,36 @@ jobs:
command: fmt
args: --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust: [1.31.0]
TARGET:
- x86_64-unknown-linux-gnu

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.TARGET }}
override: true
components: clippy

- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
env:
RUSTFLAGS: '' # Suggested range constructs are not supported in the current MSRV

test:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly, 1.31.0]
rust: [stable, beta, nightly]
TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl]
include:
- rust: nightly
Expand Down

0 comments on commit 664aff8

Please sign in to comment.