Skip to content

Merge pull request #5 from OpenXbox/feat/authenticator_construct_with… #48

Merge pull request #5 from OpenXbox/feat/authenticator_construct_with…

Merge pull request #5 from OpenXbox/feat/authenticator_construct_with… #48

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_call:
permissions:
contents: read
env:
RUSTFLAGS: -Dwarnings
jobs:
test:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [beta, stable, 1.74.0]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
components: rust-src
- run: cargo test --all
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rust-src
- run: cargo clippy --tests