Merge pull request #364 from sagiegurari/dependabot/cargo/serde_json-… #854
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
env: | |
CLICOLOR_FORCE: 1 | |
jobs: | |
ci: | |
name: CI | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [stable, beta, nightly] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
- name: Install cargo-make | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug cargo-make | |
- name: Run CI | |
if: matrix.rust != 'nightly' | |
uses: actions-rs/cargo@v1 | |
with: | |
command: make | |
args: --no-workspace workspace-ci-flow | |
- name: Run CI (Allow Failures) | |
if: matrix.rust == 'nightly' | |
continue-on-error: true | |
uses: actions-rs/cargo@v1 | |
with: | |
command: make | |
args: --no-workspace workspace-ci-flow |