From 59001400357d007352e806ae358484d7550e6de3 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Sun, 30 Jul 2023 11:18:15 +0200 Subject: [PATCH] add GHA --- .github/workflows/test.yml | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..fa79d12 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,14 @@ +name: Test +on: [push, pull_request] +env: + CARGO_TERM_COLOR: always +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: | + cargo test --verbose diff --git a/README.md b/README.md index 7537e3d..162b131 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# protogalaxy-poc +# protogalaxy-poc [![Test](https://github.com/arnaucube/protogalaxy-poc/workflows/Test/badge.svg)](https://github.com/arnaucube/protogalaxy-poc/actions?query=workflow%3ATest) Proof of concept implementation of ProtoGalaxy (https://eprint.iacr.org/2023/1106.pdf) using [arkworks](https://github.com/arkworks-rs).