Bump to v0.2.1 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build | |
- name: Install SoftHSM | |
run: | | |
sudo apt-get update -y && | |
sudo apt-get install -y libsofthsm2 | |
- name: Test | |
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/softhsm cargo test | |
- name: Clippy | |
run: RUSTFLAGS="-Dwarnings" cargo clippy | |
- name: Fmt | |
run: cargo fmt -- --check |