mirror of
https://github.com/trussed-dev/iso7816.git
synced 2026-03-11 16:36:00 -07:00
28 lines
669 B
YAML
28 lines
669 B
YAML
# Copyright (C) Nitrokey GmbH
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Install rust
|
|
run: rustup show active-toolchain || rustup toolchain install
|
|
- name: Check formatting
|
|
run: cargo fmt --check
|
|
- name: Check build
|
|
run: |
|
|
cargo build
|
|
cargo build --all-features
|
|
- name: Run tests
|
|
run: cargo t --all-features
|
|
- name: Check clippy warnings
|
|
run: cargo clippy --all-features -- -Dwarnings
|
|
- name: Check doc warnings
|
|
run: RUSTDOCFLAGS=-Dwarnings cargo doc --all-features
|