tracing-loki 0.2.7

A tracing layer for shipping logs to Grafana Loki
Documentation
name: Build

on: [push, pull_request]

jobs:
  build:
    name: Build and test
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        rust:
          - stable
          - nightly
    steps:
      - uses: actions/checkout@v2
      - uses: Swatinem/rust-cache@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true
      - if: ${{ matrix.rust == 'stable' }}
        run: cargo fmt -- --color=always --check
      - run: cargo build
      - run: cargo test
      - run: cargo bench