lucky_commit 2.0.0

Make your git commits lucky!
Documentation
name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Install latest stable
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        override: true
        components: rustfmt, clippy
    - name: Build
      run: cargo build --verbose --no-default-features
    - name: Format
      run: cargo fmt -- --check
    - name: Lint
      run: cargo clippy
    - name: Run tests
      run: cargo test --verbose --no-default-features
    - name: Run benchmark
      run: 'cargo build --release --no-default-features && time target/release/lucky_commit --benchmark'