Skip to content

v0.2.0

v0.2.0 #2

Workflow file for this run

name: Release
on:
release:
types: [ created ]
defaults:
run:
shell: bash
jobs:
build:
name: Publish to crates.io
runs-on: ubuntu-24.04
timeout-minutes: 12
# run workflow only on numaproj/numaflow-rs repository
if: ${{ github.repository }} == "numaproj/numaflow-rs"
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- name: Install dependencies
run: sudo apt-get install -y protobuf-compiler
- name: Code Generation
run: make codegen
- name: Ensure generated code is checked in
run: git diff --exit-code
- name: Lint
run: make lint
- name: Run tests
run: make test
- name: Documentation generation
run: RUSTFLAGS="-D warnings" cargo doc
- name: Dry run Cargo Publish
run: CARGO_REGISTRY_TOKEN=${{ secrets.CARGO_PUBLISH }} cargo publish