Bump version to 0.4.1 #37
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: | |
pull_request: | |
push: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: --deny warnings | |
jobs: | |
style: | |
name: Check basic style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: LukasKalbertodt/[email protected] | |
check: | |
name: 'Build & test' | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
# We test in release mode as two tests would take a long time otherwise. | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: | | |
cargo test --release --lib -- --include-ignored | |
cargo test --doc | |
- name: Test procmacro example | |
working-directory: examples/procmacro | |
run: cargo test | |
- name: Build without default features | |
run: cargo build --no-default-features | |
- name: Run tests without default features | |
run: | | |
cargo test --release --no-default-features --lib -- --include-ignored | |
cargo test --doc --no-default-features | |
- name: Build with check_suffix | |
run: cargo build --features=check_suffix | |
- name: Run tests with check_suffix | |
run: | | |
cargo test --release --features=check_suffix --lib -- --include-ignored | |
cargo test --doc --features=check_suffix |