Skip to content

Merge pull request #572 from flipsi/set-display-mode-command #826

Merge pull request #572 from flipsi/set-display-mode-command

Merge pull request #572 from flipsi/set-display-mode-command #826

name: MacOS build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
name: Rust MacOS ${{ matrix.rust }}
runs-on: macos-latest
strategy:
matrix:
rust: [stable]
steps:
- uses: actions/checkout@v2
- name: Install minimal ${{ matrix.rust }} rust
uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: ${{ matrix.rust }}
- run: cargo -Vv && rustc -Vv
- run: cargo check
- run: cargo check --all-features
if: ${{ matrix.rust == 'stable' }}
- run: cargo fmt --all -- --check
if: ${{ matrix.rust == 'stable' }}
- run: cargo test
if: ${{ matrix.rust == 'stable' }}