Skip to content

Commit 782f79d

Browse files
Pavel ŠiškaPavel Siska
authored andcommitted
Github-actions: add check workflow
1 parent 03e9eb6 commit 782f79d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/check.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: check
2+
3+
on: [workflow_call]
4+
5+
jobs:
6+
clang-checks:
7+
runs-on: ubuntu-latest
8+
container: oraclelinux:9
9+
steps:
10+
- name: Check out repository code
11+
uses: actions/checkout@v4
12+
- name: Install dependencies
13+
uses: ./.github/actions/install-dependencies
14+
with:
15+
clang-tools: true
16+
pcap: true
17+
- name: make format-check
18+
run: make format
19+
20+
editor-config:
21+
runs-on: ubuntu-latest
22+
container: mstruebing/editorconfig-checker
23+
steps:
24+
- name: Check out repository code
25+
uses: actions/checkout@v4
26+
- name: Check editorconfig
27+
run: ec --exclude .git

0 commit comments

Comments
 (0)