Skip to content

Allow serializing &T as Bincoded<T> #14

Allow serializing &T as Bincoded<T>

Allow serializing &T as Bincoded<T> #14

name: Check multiple toolchains
on:
pull_request:
paths:
- '**.rs'
- '**/Cargo.toml'
env:
CARGO_TERM_COLOR: always
jobs:
check-toolchains:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
rust-toolchain: [stable, nightly]
steps:
- uses: actions/checkout@v2
- name: Install ${{ matrix.rust-toolchain }} toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust-toolchain }}
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --all --features=bincoded,derive