Skip to content

Bump thiserror from 1.0.52 to 1.0.56 (#217) #456

Bump thiserror from 1.0.52 to 1.0.56 (#217)

Bump thiserror from 1.0.52 to 1.0.56 (#217) #456

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
env:
dbus-codegen-version: 0.10.0
jobs:
generated:
name: Check that generated files haven't been modified
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache dbus-codegen-rust
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/dbus-codegen-rust
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-cargo-bin-${{ env.dbus-codegen-version }}
- name: Install dbus-codegen dependencies
run: sudo apt-get install libdbus-1-dev
- name: Install dbus-codegen
run: cargo install dbus-codegen --version ${{ env.dbus-codegen-version }}
- name: Rebuild generated files
run: INTROSPECT=0 ./bluez-generated/introspect.sh
- name: Check for differences
run: git diff --exit-code
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format Rust code
run: cargo fmt --all -- --check