Skip to content

CI

CI #134

Workflow file for this run

name: CI
on:
push:
tags:
- '*.*.*'
pull_request:
schedule: [cron: "0 0 1,15 * *"]
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [beta, stable, nightly]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo test --all
env:
RUSTFLAGS: ${{matrix.rustflags}}
msrv:
name: Rust 1.42.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/[email protected]
- run: cargo check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests -- -Dclippy::all