🚧 CI: update checks

This commit is contained in:
Vladislav Nepogodin 2024-07-11 03:52:40 +04:00
parent 2b59e2ef71
commit 1ea1c09d0d
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -19,17 +19,17 @@ jobs:
cpp-linter: cpp-linter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Configure CMake - name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug
- uses: cpp-linter/cpp-linter-action@v2.3.0 - uses: cpp-linter/cpp-linter-action@v2.12.0
id: linter id: linter
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
style: file style: file
version: '14' version: '18'
database: ${{github.workspace}}/build database: ${{github.workspace}}/build
- name: Fail fast?! - name: Fail fast?!
@ -43,11 +43,11 @@ jobs:
name: "Check C++ style" name: "Check C++ style"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs. - name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.10.1 uses: jidicula/clang-format-action@v4.13.0
with: with:
clang-format-version: '15' clang-format-version: '18'
check-path: 'src' check-path: 'src'
exclude-regex: 'src/subprocess.h' exclude-regex: 'src/subprocess.h'