Skip to content

Bump tracing-subscriber from 0.3.17 to 0.3.18 #51

Bump tracing-subscriber from 0.3.17 to 0.3.18

Bump tracing-subscriber from 0.3.17 to 0.3.18 #51

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo build
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: nightly
override: true
- run: cargo clippy
- run: cargo fmt --all -- --check