Skip to content

Commit 2cfcdbf

Browse files
committed
chore: run CI on our dev branch too
1 parent 38bb785 commit 2cfcdbf

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- feat-add-pro-backend-fns
78
pull_request:
89
branches:
910
- main
11+
- feat-add-pro-backend-fns
1012

1113
concurrency:
1214
group: ${{ github.workflow }}
@@ -29,16 +31,20 @@ jobs:
2931
- name: Checkout git repo
3032
uses: actions/checkout@v4
3133
with:
32-
submodules: 'recursive'
34+
submodules: "recursive"
35+
36+
- name: Install correct clang versions
37+
run: sudo apt-get install clang-tidy-19 clang-format-19
38+
shell: bash
3339

3440
- name: Install node
3541
uses: actions/setup-node@v3
3642
with:
37-
node-version-file: '.nvmrc'
43+
node-version-file: ".nvmrc"
3844

3945
- uses: actions/setup-python@v4
4046
with:
41-
python-version: '3.11'
47+
python-version: "3.11"
4248

4349
- name: Add msbuild to PATH
4450
uses: microsoft/[email protected]
@@ -48,7 +54,12 @@ jobs:
4854
shell: bash
4955
run: yarn update_version
5056

51-
5257
- name: build libsession-util-nodejs
5358
shell: bash
5459
run: yarn install --frozen-lockfile
60+
61+
- name: Run clang-tidy
62+
run: clang-tidy -p build src/**/*.cpp
63+
64+
- name: Check formatting
65+
run: clang-format --dry-run --Werror src/**/*.{cpp,hpp}

0 commit comments

Comments
 (0)