fix(lib): use constant rfcomm service uuid for a3930 #1155
This file contains hidden or 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: lint | |
| on: | |
| - push | |
| - pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install just | |
| uses: taiki-e/install-action@just | |
| - name: Install rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: Install ktlint | |
| run: | | |
| curl --silent --show-error --remote-name-all --location https://github.com/pinterest/ktlint/releases/download/1.8.0/ktlint{,.asc} | |
| curl -sS https://raw.githubusercontent.com/pinterest/ktlint/1e1cdd6b3c7dfc94c9418c7c4706c0dcffcb132c/public-key.asc | gpg --import | |
| gpg --verify ktlint.asc | |
| chmod a+x ktlint && sudo mv ktlint /usr/local/bin/ | |
| - name: Check formatting | |
| run: just format-check | |
| shellcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install shellcheck | |
| run: sudo apt-get install -y shellcheck fd-find | |
| - name: Install just | |
| uses: taiki-e/install-action@just | |
| - name: Run shellcheck | |
| run: just shellcheck |