Skip to content

fix: Allow single cert in X.509 credentials #162

fix: Allow single cert in X.509 credentials

fix: Allow single cert in X.509 credentials #162

name: Build & test workspace
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
tests:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get -y install protobuf-compiler
- name: Install dependencies
if: matrix.os == 'macos-latest'
run: brew install protobuf
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build workspace
run: cargo build --workspace --all-targets
- name: Test workspace
run: cargo test --workspace --all-targets --exclude=openmls --exclude openmls-fuzz