π Fix optimistic update condition #281
Workflow file for this run
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: "Clang-tidy Code Review" | |
on: | |
pull_request: | |
paths: | |
- core/** | |
- .clang-tidy | |
- .github/workflows/clang-tidy-review.yml | |
jobs: | |
build: | |
name: Code review of changed lines | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: ZedThree/clang-tidy-review@v0.8.3 | |
id: review | |
with: | |
build_dir: build | |
# List of packages to install | |
apt_packages: libssl-dev,libpq-dev,postgresql-server-dev-all | |
# Googletest triggers a _lot_ of clang-tidy warnings, so ignore all | |
# the unit tests until they're fixed or ignored upstream | |
exclude: "core/test/*,core/lib/*,core/test/lib/*,core/src/api/*,core/src/jni/*" | |
config_file: '.clang-tidy' | |
# CMake command to run in order to generate compile_commands.json | |
cmake_command: cmake . -B build -DSYS_OPENSSL=ON -DOPENSSL_USE_STATIC_LIBS=TRUE -DPostgreSQL_INCLUDE_DIR=/usr/include/postgresql -DTARGET_JNI=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=on && cmake --build build --target secp256k1 |