validbr 0.2.1

Provides data structure and validation for Brazilian Registries, such as CPF, CNPJ and CNH (currently only CPF and CNPJ is supported)
name: Build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Change Rust to nightly
      run: rustup default nightly
    - name: Rustup update
      run: rustup update
    - name: Build
      run: cargo +nightly build --verbose --all-features
    - name: Run tests
      run: cargo +nightly test --verbose --all-features
    - name: Run doc generation
      run: cargo +nightly doc --verbose --all-features