core: check if the uri already exists when adding a new device in bro… #3245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: style-check | |
on: [push, pull_request] | |
env: | |
BUILD_HOST: ubuntu-22.04 | |
USERNAME: github-actions | |
jobs: | |
check-cpp-formatting: | |
name: Check C++ Formatting | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DoozyX/[email protected] | |
with: | |
source: '.' | |
exclude: './ci/flatpak' | |
extensions: 'h,hpp,cpp,cc,cc.in' | |
clangFormatVersion: 12 | |
check-cmake-formatting: | |
name: Check CMakeLists Formatting | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: PuneetMatharu/[email protected] | |
with: | |
args: --config-files .cmake-format --check | |