File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Applies Coding Standard configuration files in the repository
2
+ description : |
3
+ Installs Python and indexes the CodeQL Coding Standard configuration files in the repository
4
+
5
+ runs :
6
+ using : composite
7
+ steps :
8
+ - name : Install Python
9
+ id : cs-install-python
10
+ uses : actions/setup-python@v5
11
+ with :
12
+ python-version : 3.9
13
+ update-environment : false
14
+ - name : Install dependencies and process files
15
+ shell : bash
16
+ run : |
17
+ install_dir=$(dirname $(dirname "${{ steps.cs-install-python.outputs.python-path }}"))
18
+ if [[ -z "$LD_LIBRARY_PATH" ]]; then
19
+ export LD_LIBRARY_PATH="$install_dir/lib"
20
+ else
21
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$install_dir/lib"
22
+ fi
23
+ ${{ steps.cs-install-python.outputs.python-path }} -m pip install -r ${GITHUB_ACTION_PATH}/../scripts/configuration/requirements.txt
24
+ ${{ steps.cs-install-python.outputs.python-path }} ${GITHUB_ACTION_PATH}/../scripts/configuration/process_coding_standards_config.py
You can’t perform that action at this time.
0 commit comments