peview 0.1.1

A minimal and fast zero-copy parser for the PE32+ file format.
Documentation
name: ci

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

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3
      
    - name: Install rust
      uses: actions-rs/toolchain@v1.0.6
      with:
        toolchain: nightly
      
    - name: Build
      run: cargo +nightly build --verbose
      
    - name: Run tests
      run: cargo +nightly test --verbose
  
  rustfmt:
    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout repository
      uses: actions/checkout@v3
      
    - name: Install rust
      uses: actions-rs/toolchain@v1.0.6
      with:
        toolchain: nightly
        components: rustfmt
      
    - name: Formatting check
      run: cargo +nightly fmt --all --check
    
  clippy:
    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout repository
      uses: actions/checkout@v3
      
    - name: Install rust
      uses: actions-rs/toolchain@v1.0.6
      with:
        toolchain: nightly
        components: clippy
      
    - name: Clippy check
      run: cargo +nightly clippy -- -D warnings