Skip to content

build(deps): bump zbus from 4.2.2 to 4.3.0 #1130

build(deps): bump zbus from 4.2.2 to 4.3.0

build(deps): bump zbus from 4.2.2 to 4.3.0 #1130

Workflow file for this run

name: Rust
on:
push:
branches:
- main
- develop
- ci/*
- feat/*
- feature/*
- fix/*
- hotfix/*
- release/*
pull_request:
paths:
- "**/src/**"
- ".github/**"
- Cargo.lock
- Cargo.toml
- deny.toml
- rust-toolchain.toml
- rustfmt.toml
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: true
RUSTC_WRAPPER: "sccache"
concurrency:
group: rust-${{ github.ref }}
cancel-in-progress: true
jobs:
rustfmt:
name: Check Rust format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v12
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Show rustfmt version
run: |
nix develop --command cargo fmt --version
- name: Run cargo fmt
run: |
nix develop --command cargo fmt --all --verbose --check
clippy:
name: Clippy
runs-on: ubuntu-latest
needs:
- rustfmt
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v12
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Pre Cache
run: |
rm -rf ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ ./target/
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
./target/
key: ${{ runner.os }}-cargo-${{ hashFiles('flake.lock', '**/Cargo.lock') }}
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Show cargo clippy version
run: |
nix develop --command cargo clippy --version
- name: Run cargo clippy
run: |
nix develop --command cargo clippy-all
test:
name: Test
runs-on: ubuntu-latest
needs:
- clippy
env:
NEXTEST_RETRIES: 5
strategy:
fail-fast: false
matrix:
mode:
- release
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v12
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Pre Cache
run: |
rm -rf ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ ./target/
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
./target/
key: ${{ runner.os }}-cargo-${{ matrix.mode }}-${{ hashFiles('flake.lock', '**/Cargo.lock') }}
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Show cargo-nextest version
run: |
nix develop --command cargo nextest --version
- name: Test with cargo-nextest
uses: coactions/setup-xvfb@v1
with:
run: |
nix develop --command cargo nextest-all ${{ matrix.mode == 'release' && '--release' || '' }}
doc:
name: Doc
runs-on: ubuntu-latest
needs:
- clippy
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v12
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Pre Cache
run: |
rm -rf ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ ./target/
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
./target/
key: ${{ runner.os }}-cargo-${{ hashFiles('flake.lock', '**/Cargo.lock') }}
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.4
- name: Run cargo doc
run: |
nix develop --command cargo doc-all