Skip to content

Fix vec![in] without elements to use correct allocator #7

Fix vec![in] without elements to use correct allocator

Fix vec![in] without elements to use correct allocator #7

name: Check multiple toolchains
on:
pull_request:
types: [ opened, edited ]
env:
CARGO_TERM_COLOR: always
jobs:
check-toolchains:
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:
toolchain: ${{ matrix.rust-toolchain }}
command: check
args: --all