Skip to content

Pre-Shared Key Support #171

Pre-Shared Key Support

Pre-Shared Key Support #171

Workflow file for this run

name: Validate PR
on:
workflow_call:
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
# 40 MiB stack
RUST_MIN_STACK: 40971520
RUST_LOG: "citadel=trace"
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: Avarok-Cybersecurity/gh-actions-deps@master
- uses: taiki-e/install-action@nextest
- run: cargo nextest run --package citadel-internal-service --features=vendored
if: startsWith(matrix.os, 'windows')
- run: cargo nextest run --package citadel-internal-service
if: ${{ !startsWith(matrix.os, 'windows') }}
clippy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: Avarok-Cybersecurity/gh-actions-deps@master
- run: rustup component add clippy-preview
- run: cargo clippy --tests -- -D warnings
fmt:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: Avarok-Cybersecurity/gh-actions-deps@master
- run: cargo fmt --check