Skip to content

CI

CI #536

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * *'
env:
CARGO_TERM_COLOR: always
jobs:
main:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: "rustup component add clippy"
- uses: actions/checkout@v2
- run: "cargo build --verbose"
- run: "cargo test --verbose --tests"
- run: "cargo test --verbose --doc"
- run: "cargo doc --verbose"
- run: "cargo build --verbose --release"
- name: remove Cargo.lock
uses: JesseTG/rm@v1.0.3
with:
path: Cargo.lock
- run: "cargo outdated --verbose --root-deps-only --exit-code 1"
- run: "cargo clippy --verbose"