linreg 0.2.0

Calculates linear regresssions of two-dimensional data. Does not use stdlib, only depends on numeric traits.
Documentation
on: [push]

name: CI

jobs:
  build_and_test:
    name: Build and test lib
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - run: rustup component add clippy
      - name: Check formatting
        uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: -- --check
      - name: Check code
        uses: actions-rs/cargo@v1
        with:
          command: check
          # TODO: Add RUSTFLAGS="-D warnings" somehow
          args: --all-features
      - name: Run clippy
        uses: actions-rs/clippy-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features -- -Dwarnings -Drust-2018-idioms
      - name: Build release
        uses: actions-rs/cargo@v1
        with:
          command: build
          args: --release --all-features