Skip to content

Adding deprecation flags for SEV components and bumping to 5.1 #91

Adding deprecation flags for SEV components and bumping to 5.1

Adding deprecation flags for SEV components and bumping to 5.1 #91

Workflow file for this run

on: [push, pull_request]
name: lint
jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
toolchain: 1.80.0
- run: cargo fmt --all -- --check
clippy-openssl:
name: cargo clippy openssl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.80.0
- run: cargo clippy --features=openssl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style
clippy-crypto_nossl:
name: cargo clippy crypto_nossl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.80.0
- run: cargo clippy --features=crypto_nossl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style
readme:
name: cargo rdme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- run: |
cargo install cargo-rdme
cargo rdme --check
check-spdx-headers:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: enarx/spdx@master
with:
licenses: Apache-2.0