Enable WASM Workloads with Encrypted Layer Support #773
Workflow file for this run
This file contains hidden or 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: attestation-agent coco_keyprovider tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'attestation-agent/coco_keyprovider/**' | |
| - '.github/workflows/aa_sample_keyprovider.yml' | |
| pull_request: | |
| paths: | |
| - 'attestation-agent/coco_keyprovider/**' | |
| - '.github/workflows/aa_sample_keyprovider.yml' | |
| create: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| coco_keyprovider_ci: | |
| if: github.event_name != 'push' | |
| name: Check | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| instance: | |
| - ubuntu-24.04 | |
| - ubuntu-24.04-arm | |
| runs-on: ${{ matrix.instance }} | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0 | |
| with: | |
| egress-policy: audit | |
| - name: Code checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@2b1f5e9b395427c92ee4e3331786ca3c37afe2d7 # v1.16.0 | |
| with: | |
| components: rustfmt, clippy | |
| - name: Rust fmt check | |
| run: cargo fmt --check --manifest-path attestation-agent/coco_keyprovider/Cargo.toml | |
| - name: Rust clippy check | |
| run: cargo clippy --manifest-path attestation-agent/coco_keyprovider/Cargo.toml -- -D warnings | |
| - name: Build and install | |
| run: cargo build --manifest-path attestation-agent/coco_keyprovider/Cargo.toml | |
| - name: Run cargo test | |
| run: cargo test --manifest-path attestation-agent/coco_keyprovider/Cargo.toml |