Skip to content

Merge pull request #11 from exprust/develop #29

Merge pull request #11 from exprust/develop

Merge pull request #11 from exprust/develop #29

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- run: cargo clippy
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
- run: cargo check
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
rust:
- stable
- beta
- nightly
runs-on: ${{ matrix.os }}
needs: [compile]
steps:
- uses: actions/checkout@v2
- uses: ATiltedTree/setup-rust@v1
with:
rust-version: ${{ matrix.rust }}
- run: cargo test