Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Allow storing V with #[derive(Enum)] #188

Allow storing V with #[derive(Enum)]

Allow storing V with #[derive(Enum)] #188

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- "1.65"
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check
msrv:
name: Verify MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-env -iA cargo-msrv -f '<nixpkgs>'
- run: cargo msrv --path=enum-map verify
- run: cargo msrv --path=enum-map-derive verify