allocator-api2 0.2.16

Mirror of Rust's allocator API
Documentation
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