anza-cryptography-source/.github/workflows/ci.yml
zz-sol 7518f90e7a
Skeleton for cryptography repo (#1)
* Initial commit

* skeleton
2026-03-07 15:52:28 -05:00

39 lines
749 B
YAML

name: CI
on:
push:
branches:
- "**"
pull_request:
jobs:
rust-checks:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace --all-targets