File tree Expand file tree Collapse file tree 3 files changed +37
-49
lines changed
Expand file tree Collapse file tree 3 files changed +37
-49
lines changed Original file line number Diff line number Diff line change 1- name : " CMake "
1+ name : " Building and testing ArkScript "
22
33on :
44 push :
55 branches : [dev, master]
66 paths-ignore :
7- - ' .github/workflows/clang-format.yml'
87 - ' .github/workflows/docker.yml'
98 - ' .github/workflows/label.yml'
109 - ' .github/workflows/lizard.yml'
1110 - ' .github/workflows/release.yml'
12- - ' .github/workflows/repo-visualizer.yml'
1311 - ' .vscode/*.*'
1412 - ' examples/*.ark'
1513 - ' images/*.*'
2725 SQLITE_VERSION : 3390100 # 3.39.1
2826
2927jobs :
28+ check :
29+ name : Formatting check
30+ runs-on : ubuntu-latest
31+
32+ strategy :
33+ matrix :
34+ path :
35+ - ' src'
36+ - ' include'
37+
38+ steps :
39+ - uses : actions/checkout@v2
40+
41+ - name : Run clang-format check for C++
42+ uses : HorstBaerbel/action-clang-format@master
43+ with :
44+ scandir : ${{ matrix.path }}
45+ style : ' file'
46+
47+ repo_visualizer :
48+ runs-on : ubuntu-latest
49+ needs : []
50+
51+ steps :
52+ - name : Checkout code
53+ uses : actions/checkout@master
54+
55+ - name : Update diagram
56+ uses : githubocto/repo-visualizer@main
57+ with :
58+ excluded_paths : ' dist,node_modules,submodules'
59+ should_push : false
60+ output_file : ' diagram.svg'
61+ artifact_name : ' diagram'
62+
3063 build :
3164 runs-on : ${{ matrix.config.os }}
3265 name : ${{ matrix.config.name }}
66+ needs : [check]
3367
3468 strategy :
3569 fail-fast : false
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments