chore: update version to 0.3.1 #109
Workflow file for this run
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: "Build" | |
env: | |
RUST_VERSION: "1.63.0" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
checks: | |
name: Run checks | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [anoncreds-ubuntu-latest, macos-latest, anoncreds-windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
components: clippy, rustfmt | |
- name: Cache cargo resources | |
uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: deps | |
cache-on-failure: true | |
- name: Cargo fmt | |
run: cargo fmt --all -- --check | |
- name: Cargo check | |
run: cargo check --workspace --features openssl_vendored | |
- name: Debug build | |
run: cargo build --all-targets --features openssl_vendored | |
- name: Run tests | |
run: cargo test --workspace --features openssl_vendored | |
env: | |
RUST_BACKTRACE: full | |
- name: Release build | |
run: cargo build --release --all-targets --features openssl_vendored |