Skip to content

Always use KV buf embedding with KvPersist #10

Always use KV buf embedding with KvPersist

Always use KV buf embedding with KvPersist #10

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "50 6 * * *"
workflow_dispatch:
env:
RUST_TOOLCHAIN: stable
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_TERM_COLOR: always
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
features: ['std', 'os', 'zeroconf', 'async-io-mini']
steps:
- name: Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: rustfmt, clippy, rust-src
- name: Install libdbus and libavahi-client
run: sudo apt-get install -y libdbus-1-dev
run: sudo apt-get install -y libavahi-client-dev

Check failure on line 33 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 33, Col: 9): 'run' is already defined
- name: Checkout
uses: actions/checkout@v3
- name: Fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --no-deps --no-default-features --features ${{matrix.features}} -- -Dwarnings
- name: Build | no_std
run: cargo build --no-default-features
- name: Build
run: cargo build --no-default-features --features ${{matrix.features}}
- name: Examples
if: matrix.features == 'os'
run: cargo build --examples --features ${{matrix.features}}