Skip to content

Merge pull request #56 from code0-tech/renovate/tucana-0.x #122

Merge pull request #56 from code0-tech/renovate/tucana-0.x

Merge pull request #56 from code0-tech/renovate/tucana-0.x #122

Workflow file for this run

name: Build code0-flow crate
on:
push:
jobs:
crates:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: Setup rust
run: rustup update --no-self-update stable
- name: Install protoc
run: curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.0-rc1/protoc-28.0-rc-1-linux-x86_64.zip && unzip protoc-28.0-rc-1-linux-x86_64.zip -d ${{ runner.temp }}/proto && chmod +x ${{ runner.temp }}/proto/bin/protoc && ${{ runner.temp }}/proto/bin/protoc --version
- name: Build crate
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo build
env:
RUST_BACKTRACE: 'full'
- name: Run Tests
run: PATH=${{ runner.temp }}/proto/bin:$PATH cargo test --features all
env:
RUST_BACKTRACE: 'full'
- name: Package crate
run: cargo package --allow-dirty