File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Avelio Contract Guard
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' **/*.py'
7+ - ' **/*.yaml'
8+ - ' **/*.yml'
9+
10+ jobs :
11+ avelio :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Setup Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : ' 3.11'
22+
23+ - name : Install dependencies
24+ run : pip install pyyaml
25+
26+ - name : Download Avelio core
27+ run : |
28+ curl -L https://raw.githubusercontent.com/Suttonfgh/Avelio/main/src/avelio_core.py -o avelio_core.py
29+ curl -L https://raw.githubusercontent.com/Suttonfgh/Avelio/main/src/ast_parser.py -o ast_parser.py
30+ curl -L https://raw.githubusercontent.com/Suttonfgh/Avelio/main/src/contract_validator.py -o contract_validator.py
31+
32+ - name : Run Avelio
33+ run : python avelio_core.py
34+ env :
35+ BASE_DIR : ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments