Skip to content

Commit 6ced192

Browse files
committed
conformance: add action+entrypoint
Signed-off-by: Jack Leightcap <[email protected]>
1 parent b8c415c commit 6ced192

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/conformance.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on: [push, pull_request]
2+
3+
name: Conformance Suite
4+
5+
jobs:
6+
conformance:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
10+
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
11+
with:
12+
profile: minimal
13+
toolchain: stable
14+
override: true
15+
- uses: sigstore/[email protected]
16+
with:
17+
entrypoint: cargo run --example conformance_suite --

examples/conformance/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ struct Cli {
2626

2727
#[derive(Subcommand, Debug)]
2828
enum Commands {
29-
Sign,
30-
SignBundle,
31-
Verify,
32-
VerifyBundle,
29+
Sign(Sign),
30+
SignBundle(SignBundle),
31+
Verify(Verify),
32+
VerifyBundle(VerifyBundle),
3333
}
3434

3535
#[derive(Parser, Debug)]

0 commit comments

Comments
 (0)