From d074fc58a2e88ccd3981e5e1c21c7441dd303ccb Mon Sep 17 00:00:00 2001 From: MedzikUser Date: Sat, 16 Apr 2022 20:24:48 +0200 Subject: [PATCH] ci: fix and test job run only on linux --- .github/workflows/rust.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 105519e..8ca09f2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,7 +34,7 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true - components: rustfmt, clippy + components: clippy - name: Cache uses: actions/cache@v3 @@ -54,17 +54,16 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: -D warnings + args: -- -D warnings test: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] rust: [stable, nightly] - name: ${{ matrix.rust }} on ${{ matrix.os }} - runs-on: ${{ matrix.os }} + name: ${{ matrix.rust }} test + runs-on: ubuntu-latest steps: - name: Checkout @@ -77,7 +76,6 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true - components: rustfmt, clippy - name: Cache uses: actions/cache@v3