Skip to content

CI

CI #92

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule: [cron: "20 10 * * *"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rustup update stable
run: rustup update stable
- name: Show cargo version
run: cargo --version
- name: Build
run: cargo build --verbose
- name: Build tests
run: cargo test --verbose --no-run
- name: Run tests
run: cargo test --verbose
# - name: Run compile fail tests
# run: cargo test --test compile_fail --verbose -- --ignored
- name: Clippy
run: cargo clippy --all-features --tests --lib -- -W clippy::all
env:
RUSTFLAGS: -D warnings
- name: Rustup toolchain install nightly
run: rustup toolchain install nightly --allow-downgrade --profile minimal
- name: Set minimal versions
run: cargo +nightly update -Z direct-minimal-versions
- name: Build tests (minimal versions)
run: cargo test --verbose --no-run
- name: Run tests (minimal versions)
run: cargo test --verbose