aes-prng 0.2.2

Pseudo-random number generator based on AES
Documentation
name: CI

on:
  pull_request:
    branches: [ main ]
  workflow_dispatch:

jobs:
  ubuntu-ci:
    runs-on: ubuntu-latest
    timeout-minutes: 5

    steps:
      - uses: actions/checkout@v2
    
      - name: Setup.
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
          components: rustfmt, clippy

      - uses: Swatinem/rust-cache@v1

      - name: Formatting.
        run: |
          cargo fmt --all -- --check

      - name: Linting.
        run: |
          cargo clippy --all-targets -- -D warnings --no-deps

      - name: Build tests.
        run: |
          cargo test --no-run

      - name: Run tests.
        run: |
          cargo test