on: [push, pull_request] name: ci jobs: build_macos: name: build on macos runs-on: macos-latest steps: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable override: true - uses: actions-rs/cargo@v1 with: command: build args: --release build_and_test: name: build and test steps: - uses: actions/checkout@v1 - name: check run: cargo check --verbose - name: clippy run: cargo clippy -- -D warnings - name: build run: cargo build --verbose - name: test run: cargo test --verbose