Log to the Android logd service where appropriate #86
Workflow file for this run
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: Code Style | |
| on: [pull_request] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout Head | |
| uses: actions/checkout@v3 | |
| - name: Fetch Git History | |
| run: | | |
| git fetch --no-tags --prune --depth=1 \ | |
| origin +refs/heads/master:refs/remotes/origin/master | |
| - name: Install Tools | |
| run: | | |
| curl -sL https://apt.llvm.org/llvm-snapshot.gpg.key | \ | |
| sudo apt-key add - | |
| sudo add-apt-repository \ | |
| 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main' | |
| sudo apt update | |
| sudo apt install -y clang-format diffutils | |
| - name: Check | |
| run: | | |
| scripts/check-style -ocode-style.diff origin/master | |
| - name: Archive Diff | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: diff | |
| path: code-style.diff |