Skip to content

Update byte-unit requirement from 4.0.9 to 5.0.4 #259

Update byte-unit requirement from 4.0.9 to 5.0.4

Update byte-unit requirement from 4.0.9 to 5.0.4 #259

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
fmt:
name: rustfmt check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: default
- run: cargo fmt --all -- --check
lint:
name: clippy lint
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
toolchain:
- stable
- beta
- nightly
stability:
- ""
- "--release"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
profile: default
default: true
- name: cargo clippy
run: "cargo clippy --all ${{matrix.stability}}"
test:
name: unit tests
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
toolchain:
- stable
- beta
- nightly
stability:
- ""
- "--release"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
profile: default
default: true
- name: prepare test data
run: make
working-directory: tests/data
- name: cargo test
run: "cargo test --all ${{matrix.stability}}"