update changelog #108
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build default | |
run: cargo build | |
- name: Build no-default | |
run: cargo build --no-default-features | |
- name: Build lib with native-tls | |
run: cargo build --features lib-native-tls | |
- name: Build lib with rustls | |
run: cargo build --features lib-rustls | |
- name: Build lib with all features | |
run: cargo build --all-features | |
- name: Run test for lib feature | |
run: cargo test --features lib --test oneio_test | |
- name: Run format check | |
run: cargo fmt --check |