Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino committed Aug 31, 2022
1 parent 66e8ed2 commit bc2c6e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ jobs:
testPreset: ci-tests

- name: Analyze diff with clang-tidy
if: matrix.config.name == 'ci-ubuntu-clang' && github.event_name != 'push' && ${{ matrix.type }} == 'tests'
if: matrix.config.name == 'ci-ubuntu-clang' && github.event_name != 'push' && matrix.type == 'tests'
run: |
mkdir clang-tidy-result
git diff -U0 origin/main | clang-tidy-diff -j 0 -p1 -path build -export-fixes clang-tidy-result/fixes.yml -extra-arg=-std=c++20 -checks=bugprone-*,concurrency-*,performance-*
- name: Run clang-tidy-pr-comments action
if: matrix.config.name == 'ci-ubuntu-clang' && github.event_name != 'push' && ${{ matrix.type }} == 'tests'
if: matrix.config.name == 'ci-ubuntu-clang' && github.event_name != 'push' && matrix.type == 'tests'
uses: platisd/clang-tidy-pr-comments@master
with:
# The GitHub token (or a personal access token)
Expand All @@ -164,7 +164,7 @@ jobs:

- name: Upload benchmark results
uses: actions/upload-artifact@v3
if: ${{ matrix.type }} == 'benchmarks'
if: matrix.type == 'benchmarks'
with:
name: ${{ matrix.config.name }}
path: ${{github.workspace}}/build/test_results/benchmarks/*
Expand Down

0 comments on commit bc2c6e4

Please sign in to comment.