Skip to content

Add AWS EC2 NitroTPM attestation and guest OS support #2219

Add AWS EC2 NitroTPM attestation and guest OS support

Add AWS EC2 NitroTPM attestation and guest OS support #2219

Workflow file for this run

# SPDX-FileCopyrightText: © 2024-2025 Phala Network <dstack@phala.network>
#
# SPDX-License-Identifier: Apache-2.0
name: Rust checks
on:
push:
branches: [ master, next, dev-* ]
pull_request:
branches: [ master, next, dev-* ]
env:
CARGO_TERM_COLOR: always
jobs:
rust-checks:
runs-on: ${{ vars.CI_RUNNER || 'ubuntu-latest' }}
defaults:
run:
working-directory: dstack
steps:
- uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@1.92.0
with:
components: clippy, rustfmt
- name: Run Clippy
run: cargo clippy -- -D warnings -D clippy::expect_used -D clippy::unwrap_used --allow unused_variables
- name: Cargo fmt check
run: cargo fmt --check --all
- name: Run tests
run: ./run-tests.sh