Skip to content

Commit 37b2c4e

Browse files
committed
bump to v2.0.0rc12
update CI rm subdir param to pip install
1 parent a44db76 commit 37b2c4e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
apt-get install -y libc6 cmake gcc g++ wget lsb-release
3636
- name: Generate compilation database
3737
if: steps.cache-build.outputs.cache-hit != 'true'
38-
run: mkdir build && cmake -Bbuild src
38+
run: mkdir build && cmake build src
3939

4040
- name: Run linter as action
41-
uses: cpp-linter/cpp-linter-action@main
41+
uses: cpp-linter/cpp-linter-action@v3.0.0-rc0
4242
id: linter
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
matrix:
1818
clang-version: ['9','10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20']
19-
repo: ['cpp-linter/cpp-linter']
20-
branch: ['${{ inputs.branch }}']
19+
repo: ['cpp-linter/cpp-linter-rs']
20+
branch: ['hide-reuse-reviews'] # ['${{ inputs.branch }}']
2121
fail-fast: false
2222

2323
steps:
@@ -34,7 +34,8 @@ jobs:
3434
# run: python -m pip install clang-tools git+https://github.com/${{ matrix.repo }}/@${{ matrix.branch }}
3535
run: |
3636
python -m pip install clang-tools
37-
python -m pip install git+https://github.com/cpp-linter/cpp_linter_rs.git@main#subdirectory=py-binding
37+
python -m pip install git+https://github.com/${{ matrix.repo }}.git@${{ matrix.branch }}
38+
# python -m pip install -i https://test.pypi.org/simple/ cpp-linter==2.0.0rc12
3839

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

0 commit comments

Comments
 (0)