Skip to content

Commit 0cf6044

Browse files
committed
update CI
1 parent 1334999 commit 0cf6044

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030

3131
- name: Generate compilation database
3232
if: steps.cache-build.outputs.cache-hit != 'true'
33-
run: mkdir build && cmake -Bbuild src
33+
run: mkdir build && cmake build src
3434

3535
- name: Run linter as action
36-
uses: cpp-linter/cpp-linter-action@v3
36+
uses: cpp-linter/cpp-linter-action@v3.0.0-rc0
3737
id: linter
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,6 +56,5 @@ jobs:
5656
run: |
5757
echo "some linter checks failed"
5858
echo "${{ steps.linter.outputs.checks-failed }}"
59-
echo "${{ env.checks-failed }}"
6059
# for actual deployment
6160
# run: exit 1

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
clang-version: ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
23-
repo: ['cpp-linter/cpp-linter']
24-
branch: ['${{ inputs.branch }}']
22+
clang-version: ['16', '17']
23+
repo: ['cpp-linter/cpp-linter-rs']
24+
branch: ['hide-reuse-reviews'] # ['${{ inputs.branch }}']
2525
fail-fast: false
2626

2727
steps:
@@ -38,8 +38,8 @@ jobs:
3838
# run: python -m pip install clang-tools git+https://github.com/${{ matrix.repo }}/@${{ matrix.branch }}
3939
run: |
4040
python -m pip install clang-tools
41-
python -m pip install -i https://test.pypi.org/simple/ cpp-linter==2.0.0rc12
42-
# python -m pip install git+https://github.com/cpp-linter/cpp_linter_rs.git@main#subdirectory=py-binding
41+
python -m pip install git+https://github.com/${{ matrix.repo }}.git@${{ matrix.branch }}#subdirectory=py-binding
42+
# python -m pip install -i https://test.pypi.org/simple/ cpp-linter==2.0.0rc12
4343

4444
- name: Install clang-tools
4545
run: clang-tools --install ${{ matrix.clang-version }} --directory ${{ runner.temp }}/llvm

0 commit comments

Comments
 (0)