From 4cb916f80cbd4c1fd37e03110ea3cd38c657c088 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 2 Jun 2021 17:29:30 +0300 Subject: [PATCH] Only lint on stable. --- .github/workflows/ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index deac3ef..b3ebad7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,18 +15,24 @@ jobs: - name: Check command: check args: "" + components: "" - name: Test command: test args: "" - - name: Lint - command: clippy - args: "" + components: "" include: - toolchain: nightly command: name: Format command: fmt args: -- --check + components: rustfmt + - toolchain: stable + command: + name: Lint + command: clippy + args: "" + components: clippy steps: - uses: actions/checkout@v2 @@ -44,7 +50,7 @@ jobs: toolchain: ${{ matrix.toolchain }} override: true default: true - components: rustfmt, clippy + components: ${{matrix.command.components}} - name: ${{matrix.command.name}} uses: actions-rs/cargo@v1