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.
This commit is contained in:
Thomas O'Donnell 2020-08-03 02:06:46 +02:00 committed by GitHub
parent b845abe006
commit 7e1ff68b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
---
name: Main workflow name: Main workflow
on: on:
push: push:
@ -32,7 +33,10 @@ jobs:
# Run the `clippy` linting tool # Run the `clippy` linting tool
clippy: clippy:
name: Clippy [Linter] name: Clippy [Linter]
runs-on: ubuntu-latest strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Setup | Checkout - name: Setup | Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2