pkcs11 0.5.0

Rust PKCS#11 Library
Documentation
name: Windows

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

jobs:
  build-and-test:
    runs-on: windows-latest
    env:
      PKCS11_SOFTHSM2_MODULE: "C:\\SoftHSM2\\lib\\softhsm2-x64.dll"
      SOFTHSM2_CONF: "C:\\SoftHSM2\\etc\\softhsm2.conf"
    steps:
    - uses: actions/checkout@v2
    - name: SoftHSM installation
      run: choco install -f softhsm
    - name: build
      run: cargo build --verbose
    - name: test
      run: cargo test --verbose
    - name: rustfmt
      run: cargo fmt -- --check
    - name: clippy 
      run: cargo clippy --all-targets --all-features -- -D warnings