Bumped lib.rs version (#277) #354
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: ci | |
on: [push, pull_request] | |
jobs: | |
test_validator: | |
name: test validator | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
build: [pinned, stable, nightly] | |
include: | |
- build: pinned | |
os: ubuntu-20.04 | |
rust: 1.56.1 | |
- build: stable | |
os: ubuntu-20.04 | |
rust: stable | |
- build: nightly | |
os: ubuntu-20.04 | |
rust: nightly | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- name: Build System Info | |
run: rustc --version | |
- name: tests validator with all features | |
run: cd validator && cargo test --all-features | |
- name: tests validator with no features | |
run: cd validator && cargo test --no-default-features | |
test_validator_derive: | |
name: test validator_derive | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Rust | |
uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: stable | |
- name: tests validator_derive with all features | |
run: cd validator_derive_tests && cargo test |