Skip to content

Commit 406c70d

Browse files
authored
added workflows
1 parent 5afc53b commit 406c70d

File tree

5 files changed

+170
-0
lines changed

5 files changed

+170
-0
lines changed

.github/abaplint/abap_cloud.jsonc

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"global": {
3+
"files": "/../../src/**/*.*"
4+
},
5+
"dependencies": [
6+
{
7+
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
8+
"folder": "/deps",
9+
"files": "/src/**/*.*"
10+
},
11+
{
12+
"url": "https://github.com/abap2UI5-addons/layout-variant-management",
13+
"folder": "/abap2UI5-layout",
14+
"files": "/src/**/*.*"
15+
},
16+
{
17+
"url": "https://github.com/abap2UI5/abap2UI5",
18+
"folder": "/abap2UI5",
19+
"files": "/src/**/*.*"
20+
},
21+
{
22+
"url": "https://github.com/abap2UI5-addons/popups",
23+
"folder": "/src",
24+
"files": "/src/**/*.*"
25+
}
26+
],
27+
"syntax": {
28+
"version": "Cloud",
29+
"errorNamespace": "."
30+
},
31+
"rules": {
32+
"downport": true,
33+
"begin_end_names": true,
34+
"check_ddic": true,
35+
"check_include": true,
36+
"check_syntax": true,
37+
"global_class": true,
38+
"definitions_top": false,
39+
"implement_methods": true,
40+
"method_implemented_twice": true,
41+
"parser_error": true,
42+
"superclass_final": true,
43+
"unknown_types": true,
44+
"xml_consistency": true
45+
}
46+
}
47+

.github/abaplint/rename.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"global": {
3+
"files": "/../../src/**/*.*"
4+
},
5+
"dependencies": [
6+
{
7+
"url": "https://github.com/abapedia/steampunk-2305-api-intersect-702",
8+
"folder": "/deps",
9+
"files": "/src/**/*.*"
10+
},
11+
{
12+
"url": "https://github.com/abap2UI5-addons/layout-variant-management",
13+
"folder": "/abap2UI5-layout",
14+
"files": "/src/**/*.*"
15+
},
16+
{
17+
"url": "https://github.com/abap2UI5/abap2UI5",
18+
"folder": "/abap2UI5",
19+
"files": "/src/**/*.*"
20+
},
21+
{
22+
"url": "https://github.com/abap2UI5-addons/popups",
23+
"folder": "/src",
24+
"files": "/src/**/*.*"
25+
}
26+
],
27+
"rename": {
28+
"output": "output",
29+
"patterns": [
30+
{
31+
"type": "CLAS|INTF|TABL",
32+
"oldName": "z2ui5_(.*)",
33+
"newName": "zabap2ui5_$1"
34+
}
35+
]
36+
},
37+
"syntax": {
38+
"version": "v750",
39+
"errorNamespace": "."
40+
},
41+
"rules": {
42+
"allowed_object_types": {
43+
"allowed": [
44+
"CLAS",
45+
"DEVC",
46+
"INTF",
47+
"TABL"
48+
]
49+
},
50+
"allowed_object_naming": true,
51+
"begin_end_names": true,
52+
"check_ddic": true,
53+
"check_include": true,
54+
"check_syntax": true,
55+
"global_class": true,
56+
"implement_methods": true,
57+
"method_implemented_twice": true,
58+
"parser_error": true,
59+
"superclass_final": true,
60+
"unknown_types": true,
61+
"xml_consistency": true
62+
}
63+
}

.github/workflows/ABAP_CLOUD.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ABAP_CLOUD
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
ABAP_CLOUD:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 20
19+
- run: npm ci
20+
- run: npx abaplint .github/abaplint/abap_cloud.jsonc

.github/workflows/ABAP_STANDARD.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ABAP_STANDARD
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
ABAP_STANDARD:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 20
19+
- run: npm ci
20+
- run: npx abaplint ./abaplint.jsonc

.github/workflows/rename_test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: rename_test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
rename_test:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: 20
19+
- run: npm ci
20+
- run: npm run rename

0 commit comments

Comments
 (0)