Mark test vectors as test vectors #23
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
name: "Build Reference Implementation" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- reference-implementation/** | |
pull_request: | |
branches: | |
- main | |
paths: | |
- reference-implementation/** | |
jobs: | |
build: | |
name: "Build Reference Implementation" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v2 | |
- name: "Build reference implementation" | |
run: | | |
cd reference-implementation | |
cargo test | |
- name: "Verify JSON test vectors" | |
run: | | |
cd reference-implementation | |
cargo run --example test_vectors verify <../test-vectors/test-vectors.json | |
- name: "Verify that Markdown test vectors are unmodified" | |
run: | | |
./make_test_vectors.sh | |
if [[ `git status --porcelain` ]] | |
then | |
exit 1 | |
fi |