From 7e1ff68b4deebb6af7711c393af61587763a1d59 Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Mon, 3 Aug 2020 02:06:46 +0200 Subject: [PATCH] ci: Run clippy on all OSs (#1547) Have updated the CI config to run clippy on all OSs. This will catch any issues in OS specific codes. This might increase the amount of annotations that are created in any of the common code but it should be better than the alternative. --- .github/workflows/workflow.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5b7383b3..87daad63 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,3 +1,4 @@ +--- name: Main workflow on: push: @@ -32,7 +33,10 @@ jobs: # Run the `clippy` linting tool clippy: name: Clippy [Linter] - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - name: Setup | Checkout uses: actions/checkout@v2