Add notify shutdown to control plane services #529
Workflow file for this run
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
on: | |
push: | |
paths: | |
- control-plane/** | |
- shared/** | |
- .github/workflows/test-control-plane.yml | |
- Cargo.lock | |
name: Test Control Plane | |
jobs: | |
test_control_plane: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install MUSL Tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y musl-tools | |
- uses: dtolnay/[email protected] | |
with: | |
targets: x86_64-unknown-linux-musl | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: "standard-cache" | |
- name: Compile project feature -enclave | |
run: cargo build --features enclave,network_egress -p control-plane | |
- name: Compile project feature -not_enclave | |
run: cargo build --features not_enclave,network_egress -p control-plane | |
- name: Test project | |
run: cargo test --features enclave,network_egress -p control-plane |