Skip to content

Commit

Permalink
conformance: add action+entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Leightcap <jack.leightcap@trailofbits.com>
  • Loading branch information
jleightcap committed Jul 28, 2023
1 parent b8c415c commit 6ced192
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: [push, pull_request]

name: Conformance Suite

jobs:
conformance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- uses: sigstore/sigstore-conformance@v0.0.5
with:
entrypoint: cargo run --example conformance_suite --
8 changes: 4 additions & 4 deletions examples/conformance/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ struct Cli {

#[derive(Subcommand, Debug)]
enum Commands {
Sign,
SignBundle,
Verify,
VerifyBundle,
Sign(Sign),
SignBundle(SignBundle),
Verify(Verify),
VerifyBundle(VerifyBundle),
}

#[derive(Parser, Debug)]
Expand Down

0 comments on commit 6ced192

Please sign in to comment.