-
Notifications
You must be signed in to change notification settings - Fork 54
44 lines (35 loc) · 1.09 KB
/
jsonvalidate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Json-check
on:
push:
branches: [master, v*]
pull_request:
branches: [master, v*]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed
- name: install python packages
run: |
python -m pip install --upgrade pip
- name: execute aws json file
run: |
cd installer/resources/lambda_rule_engine/files/
python awsjsoncheckscript.py
- name: execute azure json file
run: |
cd installer/resources/lambda_rule_engine/files/
python azurejsoncheckscript.py
- name: execute gcp json file
run: |
cd installer/resources/lambda_rule_engine/files/
python gcpjsoncheckscript.py
- name: execute gcp json file
run: |
cd installer/resources/lambda_rule_engine/files/
python pluginjsoncheckscript.py