Skip to content

Sanity

Sanity #1

Workflow file for this run

name: Sanity
on:
schedule:
- cron: 0 0 1 * *
workflow_dispatch:
jobs:
sanity:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: rustup update
run: rustup update
- name: cargo check
run: cargo check --all-features
- name: cargo build
run: cargo build --all-features
- name: cargo test
run: cargo test --all-features
- name: cargo fmt
run: cargo fmt --all --check
- name: cargo clippy
run: cargo clippy --tests --all-features -- -D warnings
- name: install cargo-outdated
run: cargo install cargo-outdated
- name: cargo-outdated
run: cargo outdated --exit-code 1