Skip to content

Add TDX quote provider service #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/tdx_quote_provider.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: TDX Quote Provider CI

on:
push:
branches: [main]
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
check:
name: Check
runs-on: warp-ubuntu-latest-x64-16x
defaults:
run:
working-directory: "./crates/tdx-quote-provider"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt

- name: Install native dependencies
run: sudo apt-get update && sudo apt-get install -y libtss2-dev

- name: Cache dependencies
uses: Swatinem/rust-cache@v2

- name: Run build
run: cargo build

- name: Check formatting
run: cargo fmt --all -- --check

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Run tests
run: cargo test --all-features

- name: Check for common mistakes
run: cargo check

docker:
name: Docker Build
runs-on: warp-ubuntu-latest-x64-16x
defaults:
run:
working-directory: "./crates/tdx-quote-provider"
steps:
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
Loading
Loading