Skip to content

Commit 0b4a40f

Browse files
committed
use pre-release as action
1 parent 574be43 commit 0b4a40f

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/cpp-lint-action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: cpp-linter as action
33
on:
44
workflow_dispatch:
55
workflow_call:
6+
pull_request:
67

78

89
jobs:
@@ -32,7 +33,7 @@ jobs:
3233
run: mkdir build && cmake -Bbuild src
3334

3435
- name: Run linter as action
35-
uses: cpp-linter/cpp-linter-action@latest
36+
uses: cpp-linter/cpp-linter-action@v3
3637
id: linter
3738
env:
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -42,10 +43,12 @@ jobs:
4243
# to ignore all build folder contents
4344
ignore: build
4445
database: build
45-
verbosity: 9
46+
verbosity: debug
4647
version: ${{ matrix.clang-version }}
47-
thread-comments: ${{ matrix.clang-version == '12' }}
48-
file-annotations: ${{ matrix.clang-version == '12' }}
48+
thread-comments: ${{ matrix.clang-version == '17' && 'update' }}
49+
file-annotations: ${{ matrix.clang-version == '17' }}
50+
tidy-review: ${{ matrix.clang-version == '17' }}
51+
format-review: ${{ matrix.clang-version == '17' }}
4952
extra-args: -std=c++14 -Wall
5053

5154
- name: Fail fast?!

.github/workflows/cpp-lint-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
description: 'which branch to test'
88
default: 'main'
99
required: true
10-
pull_request:
10+
# pull_request:
1111

1212
jobs:
1313
cpp-linter:

0 commit comments

Comments
 (0)