Several changes #170
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
on: | |
push: | |
branches: ["main"] | |
name: CI | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust nightly | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Test with default features | |
run: cargo test | |
- name: Test with no features | |
run: cargo test --tests --no-default-features | |
- name: Test with feature std | |
run: cargo test --tests --no-default-features -F std | |
- name: Test with feature net | |
run: cargo test --tests --no-default-features -F net |