Browse Source

Add GHA

feature/gha
arnau 3 years ago
committed by arnaucube
parent
commit
290e40a9d4
3 changed files with 15 additions and 10 deletions
  1. +13
    -0
      .github/workflows/test.yml
  2. +0
    -9
      .travis.yml
  3. +2
    -1
      README.md

+ 13
- 0
.github/workflows/test.yml

@ -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

+ 0
- 9
.travis.yml

@ -1,9 +0,0 @@
language: rust
rust:
- stable
cache:
- cargo
script:
- RUST_BACKTRACE=1 cargo test --all

+ 2
- 1
README.md

@ -1,4 +1,5 @@
# poseidon-rs [![Crates.io](https://img.shields.io/crates/v/poseidon-rs.svg)](https://crates.io/crates/poseidon-rs) [![Build Status](https://travis-ci.org/arnaucube/poseidon-rs.svg?branch=master)](https://travis-ci.org/arnaucube/poseidon-rs)
# poseidon-rs [![Crates.io](https://img.shields.io/crates/v/poseidon-rs.svg)](https://crates.io/crates/poseidon-rs) [![Test](https://github.com/arnaucube/poseidon-rs/workflows/Test/badge.svg)](https://github.com/arnaucube/poseidon-rs/actions?query=workflow%3ATest)
Poseidon hash implementation in Rust, a zkSNARK friendly hash function.
https://eprint.iacr.org/2019/458.pdf

Loading…
Cancel
Save