Skip to content

Commit a609b0a

Browse files
authored
Update makefile.yml file
1 parent 8e908b3 commit a609b0a

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/makefile.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,27 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
12+
1413
steps:
15-
- uses: actions/checkout@v4
16-
14+
- uses: actions/checkout@v3
15+
1716
- name: Install dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y gcc-9 libsqlite3-dev libssl-dev
20+
21+
- name: Build
1822
run: make
19-
20-
- name: Run check
21-
run: make check
22-
23-
- name: Run distcheck
24-
run: make distcheck
23+
24+
lint:
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- uses: actions/checkout@v3
29+
30+
- name: Install cppcheck
31+
run: sudo apt-get install -y cppcheck
32+
33+
- name: Static code analysis
34+
run: cppcheck --enable=all --suppress=missingIncludeSystem .

0 commit comments

Comments
 (0)