Skip to content

initial ci configs

initial ci configs #1

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule: [cron: "40 1 * * *"]
permissions:
contents: read
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Lint
run: |
cargo fmt -- --check
cargo clippy --all-targets
- name: Build Documentation
run: cargo doc --no-deps
- name: Run tests
run: cargo test --all-features