Skip to content

Commit 34ec9c1

Browse files
committed
Restore spin edgezero.toml; drop now-redundant CLI fmt CI step
The spin adapter's tests read edgezero.toml via include_str!("../edgezero.toml"), so it must not be deleted. Also drop the test-cli fmt step: now that the CLI is a workspace member, cargo fmt --all covers it.
1 parent 45b2611 commit 34ec9c1

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,10 @@ jobs:
201201
components: "clippy, rustfmt"
202202
cache-shared-key: cargo-cli-${{ runner.os }}
203203

204-
- name: cargo fmt (check)
205-
run: cargo fmt --manifest-path crates/trusted-server-cli/Cargo.toml --check
206-
204+
# No separate `cargo fmt` here: `trusted-server-cli` is a workspace member,
205+
# so the main `cargo fmt --all` job already formats it. Clippy still needs a
206+
# native run — the workspace clippy jobs are wasm/adapter-scoped and never
207+
# lint the CLI's host-only code (macOS dev proxy vs Linux audit differ by cfg).
207208
- name: cargo clippy
208209
run: |
209210
cargo clippy --manifest-path crates/trusted-server-cli/Cargo.toml --target "$(rustc -vV | sed -n 's/host: //p')" --all-targets -- -D warnings
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[app]
2+
name = "trusted-server"
3+
version = "0.1.0"
4+
kind = "http"
5+
6+
[adapters.spin]
7+
8+
[stores.kv]
9+
ids = ["trusted_server_kv"]
10+
default = "trusted_server_kv"
11+
12+
[stores.config]
13+
ids = ["trusted_server_config"]
14+
default = "trusted_server_config"
15+
16+
[stores.secrets]
17+
ids = ["trusted_server_secrets"]
18+
default = "trusted_server_secrets"

0 commit comments

Comments
 (0)