chore: draft release via GitHub action #59
Workflow file for this run
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 Checks" | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/rust-checks.yml" | |
- "rust/**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: kuliya - latest | |
runs-on: ubuntu-latest | |
env: | |
CWD: "rust" | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: rustup update ${{ matrix.toolchain }} | |
- run: rustup default ${{ matrix.toolchain }} | |
- run: rustup component add clippy | |
- run: cargo install cargo-readme | |
- run: cargo readme > README.md | |
working-directory: ${{ env.CWD }} | |
- run: cargo clippy --all-features -- -Dwarnings | |
working-directory: ${{ env.CWD }} | |
- run: cargo build --verbose | |
working-directory: ${{ env.CWD }} | |
- name: "is docs updated and generated files are committed" | |
run: exit $(git status --porcelain | wc -l) | |
- run: cargo test --verbose | |
working-directory: ${{ env.CWD }} | |
- run: cargo test --verbose --lib --bins --tests --features serde_derive | |
working-directory: ${{ env.CWD }} | |
- run: cargo test --verbose --lib --bins --tests --no-default-features --features storage | |
working-directory: ${{ env.CWD }} | |
- run: cargo test --verbose --all-features | |
working-directory: ${{ env.CWD }} |