Skip to content

Commit 7a28777

Browse files
Pavel ŠiškaPavel Siska
authored andcommitted
Github-actions: add check workflow
1 parent d82e076 commit 7a28777

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
- name: make format-check
17+
run: make format
18+
19+
editor-config:
20+
runs-on: ubuntu-latest
21+
container: mstruebing/editorconfig-checker
22+
steps:
23+
- name: Check out repository code
24+
uses: actions/checkout@v4
25+
- name: Check editorconfig
26+
run: ec --exclude .git

0 commit comments

Comments
 (0)