Skip to content

Allocate Vec capacity based on size hints during decoding #256

Allocate Vec capacity based on size hints during decoding

Allocate Vec capacity based on size hints during decoding #256

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check --config merge_imports=true
- uses: actions-rs/cargo@v1
with:
command: install
args: cargo-hack
- uses: actions-rs/cargo@v1
with:
command: hack
args: check --all --ignore-private --each-feature --no-dev-deps
- uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-targets --all-features
- uses: actions-rs/cargo@v1
with:
command: build
args: --all --all-targets --no-default-features
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-targets --all-features
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-targets --all-features -- -D warnings
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-targets --no-default-features -- -D warnings