Skip to content

Commit e149ae0

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

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 16 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,21 @@ 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+
if: runner.os == 'Linux'
38+
run: sudo apt update && sudo apt search clang && sudo apt install clang-tidy-19 clang-format-19
39+
shell: bash
3340

3441
- name: Install node
3542
uses: actions/setup-node@v3
3643
with:
37-
node-version-file: '.nvmrc'
44+
node-version-file: ".nvmrc"
3845

3946
- uses: actions/setup-python@v4
4047
with:
41-
python-version: '3.11'
48+
python-version: "3.11"
4249

4350
- name: Add msbuild to PATH
4451
uses: microsoft/[email protected]
@@ -48,7 +55,12 @@ jobs:
4855
shell: bash
4956
run: yarn update_version
5057

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

0 commit comments

Comments
 (0)