Skip to content

enable non-exhaustive on stable #2

enable non-exhaustive on stable

enable non-exhaustive on stable #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUSTFLAGS: "-Dwarnings" # Make sure CI fails on all warnings
jobs:
CI:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use cache
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy
- name: Run clippy with all features
run: cargo clippy --all-features
- name: Check formatting
run: cargo fmt --check
- name: Run tests
run: cargo test
- name: Run tests with all features
run: cargo test --all-features