Skip to content

Merge pull request #34 from Dr-TSNG/master #76

Merge pull request #34 from Dr-TSNG/master

Merge pull request #34 from Dr-TSNG/master #76

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
steps:
- uses: actions/checkout@v2
- name: Use ${{ matrix.rust }}
run: rustup default ${{ matrix.rust }}
- name: Build
run: cargo build --verbose
- name: Build without default features
run: cargo build --no-default-features --verbose
- name: Build with all features
run: cargo build --all-features --verbose
- name: Run tests
run: cargo test --verbose