mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-03 06:27:14 +08:00
🚧 CI: update checks
This commit is contained in:
parent
2b59e2ef71
commit
1ea1c09d0d
12
.github/workflows/checks.yml
vendored
12
.github/workflows/checks.yml
vendored
@ -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'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user