Skip to content

build(deps): bump tracing from 0.1.37 to 0.1.40 #385

build(deps): bump tracing from 0.1.37 to 0.1.40

build(deps): bump tracing from 0.1.37 to 0.1.40 #385

Workflow file for this run

# .github/workflows/ci.yml
name: CI Job
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: "rustfmt"
override: true
- name: Formating check
run: cargo fmt --check
tests:
name: Rust ${{ matrix.rust }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
# - os: macos-latest
# target: x86_64-apple-darwin
# suffix: ''
# rust: stable
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
suffix: ''
rust: stable
# - os: windows-latest
# target: x86_64-pc-windows-msvc
# suffix: .exe
# rust: stable
env:
RUST_BACKTRACE: full
RUSTV: ${{ matrix.rust }}
steps:
- name: Install dependencies
run: sudo apt-get -y install protobuf-compiler
- uses: actions/checkout@v2
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
components: "clippy, rustfmt"
override: true
- name: Cache registry, build data
uses: actions/cache@v2
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
./target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo
- name: Lint
run: cargo clippy
- name: Test
run: cargo test