Skip to content

Update the build workflow #13

Update the build workflow

Update the build workflow #13

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable, components: "clippy, rustfmt"}
- run: cargo clippy -- -D warnings
- run: cargo fmt --all -- --check
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- run: cargo test
- run: cargo test --features bundled