Skip to content

Build

Build #109

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 00 4 * * *
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo build
- run: cargo test
- run: cargo fmt --all --check
- run: cargo clippy -- --deny warnings
- run: cargo publish --dry-run