kernel-alloc 0.2.5

Minimalistic Windows Kernel Allocator
name: Rust

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@master
    
    - name: Install nightly toolchain
      uses: actions-rs/toolchain@v1
      with:
        profile: minimal
        toolchain: nightly
        target: x86_64-pc-windows-gnu
        override: true
        components: rustfmt, clippy, rust-src

    - name: Run cargo fmt
      uses: actions-rs/cargo@v1
      # continue-on-error: true
      with:
        command: fmt
        args: --all -- --check

    - name: Run cargo clippy
      uses: actions-rs/cargo@v1
      # continue-on-error: true
      with:
        command: clippy
        args: --target x86_64-pc-windows-gnu -Zbuild-std  -- -D warnings