rand_derive2 0.1.21

Generate customizable random types with the rand crate
Documentation
name: CI

on: [push, pull_request]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install minimal nightly with clippy and rustfmt
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: nightly
          components: rustfmt, clippy
      - name: Build
        run: cargo build
      - name: Run tests
        run: cargo test
      - name: Run formatter
        run: cargo +nightly fmt -- --check
      - name: Check formatting
        run: cargo +nightly clippy -- -D warnings