Replace rand() with fixed-seed RNG to make tests deterministic #901
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: Clang Tidy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: qdrvm/kagome-dev@sha256:2d70246c32418a3dd45c246d3f5c2dd99bdafde145b903271849affe476c4cfc | |
| steps: | |
| - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 | |
| with: | |
| fetch-depth: 0 | |
| - name: venv | |
| run: housekeeping/github_venv.sh /venv | |
| - name: run checks | |
| env: | |
| BUILD_DIR: build | |
| run: | | |
| cmake -B $BUILD_DIR . | |
| cmake --build $BUILD_DIR --target generated | |
| git config --global --add safe.directory $PWD | |
| housekeeping/clang-tidy-diff.sh | |