mirror of
https://github.com/arnaucube/poseidon-ark.git
synced 2026-01-09 23:41:29 +01:00
Add GHA
This commit is contained in:
13
.github/workflows/test.yml
vendored
Normal file
13
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
language: rust
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
|
|
||||||
cache:
|
|
||||||
- cargo
|
|
||||||
|
|
||||||
script:
|
|
||||||
- RUST_BACKTRACE=1 cargo test --all
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
# poseidon-rs [](https://crates.io/crates/poseidon-rs) [](https://travis-ci.org/arnaucube/poseidon-rs)
|
# poseidon-rs [](https://crates.io/crates/poseidon-rs) [](https://github.com/arnaucube/poseidon-rs/actions?query=workflow%3ATest)
|
||||||
|
|
||||||
Poseidon hash implementation in Rust, a zkSNARK friendly hash function.
|
Poseidon hash implementation in Rust, a zkSNARK friendly hash function.
|
||||||
|
|
||||||
https://eprint.iacr.org/2019/458.pdf
|
https://eprint.iacr.org/2019/458.pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user