attest-data messages #479
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test suite | |
on: [push, pull_request] | |
jobs: | |
clippy: | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: clippy | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners | |
# is explicit that we must run `apt-get update` before trying to install packages | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y pkg-config libudev-dev | |
- run: cargo clippy -- --deny warnings | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y pkg-config libudev-dev | |
- run: cargo test --all-features --locked |