Skip to content

Merge branch 'spec' of https://github.com/w3f/ring-vrf into spec #48

Merge branch 'spec' of https://github.com/w3f/ring-vrf into spec

Merge branch 'spec' of https://github.com/w3f/ring-vrf into spec #48

Workflow file for this run

name: Rust
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: '-D warnings'
RUST_BACKTRACE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
run: cargo build --verbose
build-wasm32:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
- name: Build
run: cargo build --verbose --no-default-features --target wasm32-unknown-unknown
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Run tests
run: cargo test --release