Skip to content

add ansible tpm role #148

add ansible tpm role

add ansible tpm role #148

Workflow file for this run

on: [push]
name: Rust compilation, check and test
jobs:
check:
name: Check
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y tpm2-tools libtss2-dev
- uses: actions/checkout@v2
- name: Rustup setup
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt && rustup component add clippy
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings