In replication scenario, entry_sm gets updated every time it is used. #913
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: Linting | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Install apt dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y libsqlite3-dev liblz4-dev libuv1-dev bear | |
- uses: KyleMayes/install-llvm-action@master | |
with: | |
version: 17 | |
- name: Run clang-format | |
run: | | |
find . \( -name '*.c' -or -name '*.h' \) -not -name 'munit.*' -path ./llvm -prune | xargs ./llvm/bin/clang-format --style=file --dry-run -Werror | |
- name: Run clang-tidy | |
run: | | |
shopt -s globstar | |
bear -- cc -D_GNU_SOURCE -DHAVE_LINUX_AIO_ABI_H -c {src,test}/**/*.c | |
git show -U0 --first-parent | ./clang-tidy-diff.py -p1 -config-file=.clang-tidy -clang-tidy-binary=./llvm/bin/clang-tidy -use-color |