Skip to content

Handle prf on authenticator (PRF#4) #55

Handle prf on authenticator (PRF#4)

Handle prf on authenticator (PRF#4) #55

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: CI
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
components: clippy
- run: rustup run ${{ matrix.rust }} cargo clippy --all --all-targets --all-features -- -D warnings
fmt:
name: Rustfmt
runs-on: ubuntu-latest
strategy:
matrix:
rust:
# Once we settle on a MSRV we should add that here.
- stable
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
components: rustfmt
- run: rustup run ${{ matrix.rust}} cargo fmt --all -- --check
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
rust:
# Once we settle on a MSRV we should add that here.
- stable
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: rustup run ${{ matrix.rust }} cargo test
typeshare:
name: Typeshare
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
lang:
- typescript
- kotlin
- swift
include:
- fs: ts
lang: typescript
- fs: kt
lang: kotlin
- fs: swift
lang: swift
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
crate: typeshare-cli
version: "1.7.0"
- run: typeshare --lang=${{ matrix.lang }} . -o test.${{ matrix.fs }}