Update cbor-smol to v0.5.0 #144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Check library | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Check library | |
run: | | |
cargo check | |
cargo check --features arbitrary | |
cargo check --features get-info-full | |
cargo check --features large-blobs | |
cargo check --all-features | |
build-no-std: | |
name: Check library (no-std) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: x86_64-unknown-linux-gnu | |
override: true | |
- name: Check library (no-std) | |
run: | | |
cargo check | |
cargo check --features get-info-full | |
cargo check --features large-blobs | |
check-fuzz: | |
name: Check fuzz targets | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
- name: Check fuzz targets | |
run: | | |
cargo check --manifest-path fuzz/Cargo.toml | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run tests | |
run: cargo test | |
clippy: | |
name: Run clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: "clippy" | |
- name: Run clippy | |
run: cargo clippy -- -D warnings | |
fmt: | |
name: Run rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: "rustfmt" | |
- name: Run rustfmt | |
run: cargo fmt -- --check |