minor: Make cargo release
don't ask for confirmation
#32
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: | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
with_features: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [ubuntu, macos, windows] | |
toolchain: | |
- 1.77 | |
- stable | |
- beta | |
- nightly | |
feature: [serde] | |
exclude: | |
- os: windows | |
toolchain: nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cargo build --verbose --all --features ${{ matrix.feature }} | |
- run: cargo test --verbose --all --features ${{ matrix.feature }} | |
- run: cargo test --verbose --all --features diagnostics | |
if: matrix.toolchain == 'nightly' | |
- run: cargo test --verbose --all --all-features | |
if: matrix.toolchain == 'nightly' | |
no_features: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [ubuntu, macos, windows] | |
toolchain: | |
- 1.77 | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cargo build --verbose --all | |
- run: cargo test --verbose --all | |
build_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup default nightly | |
- run: cargo install cargo-docs-rs | |
- run: cargo docs-rs -p fieldx | |