File tree Expand file tree Collapse file tree 8 files changed +1
-70
lines changed
src/main/wrapper/resources Expand file tree Collapse file tree 8 files changed +1
-70
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 runs-on : ubuntu-latest
77 steps :
88 - uses : actions/checkout@v4
9- with :
10- lfs : true
11-
12- - name : Install Git LFS
13- run : |
14- sudo apt-get update
15- sudo apt-get install git-lfs
16- git lfs install
179
1810 - name : Use Node.js 14
1911 uses : actions/setup-node@v4.0.2
2517 run : npm run lint
2618 - run : npm run build --if-present
2719
28- - name : Check existence of cx-linux binary
29- run : |
30- if [ ! -f "src/main/wrapper/resources/cx-linux" ]; then
31- echo "cx-linux binary does not exist"; exit 1;
32- fi
33-
34- - name : Check existence of cx.exe binary
35- run : |
36- if [ ! -f "src/main/wrapper/resources/cx.exe" ]; then
37- echo "cx.exe binary does not exist"; exit 1;
38- fi
39-
40- - name : Check existence of cx-mac binary
41- run : |
42- if [ ! -f "src/main/wrapper/resources/cx-mac" ]; then
43- echo "cx-mac binary does not exist"; exit 1;
44- fi
45-
4620 - name : Run tests
4721 env :
4822 CX_CLIENT_ID : ${{ secrets.CX_CLIENT_ID}}
Original file line number Diff line number Diff line change 5858 - uses : actions/checkout@v4
5959 with :
6060 fetch-depth : 0
61- lfs : true # Ensure LFS files are checked out
6261
6362 # GIT CONFIGURATION
6463 - run : |
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v4
12- with :
13- lfs : true
14-
15- - name : Install Git LFS
16- run : |
17- sudo apt-get update
18- sudo apt-get install git-lfs
19- git lfs install
20-
21- - name : Configure Git user
22- run : |
23- git config --global user.name github-actions
24- git config --global user.email github-actions@github.com
2512
2613 - name : Get Latest Checkmarx API version
2714 id : checkmarx-ast-cli
3724 # Update current release
3825 echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
3926
40- - name : Download latest cli and update branch
41- if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
42- run : |
43- # Update binaries
44- chmod +x ./.github/scripts/update_cli.sh
45- ./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
46-
47- - name : Track large files with Git LFS
48- if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
49- run : |
50- git lfs track "src/main/wrapper/resources/cx-linux"
51- git lfs track "src/main/wrapper/resources/cx.exe"
52- git lfs track "src/main/wrapper/resources/cx-mac"
53- git add .gitattributes
54- git add src/main/wrapper/resources/cx-linux src/main/wrapper/resources/cx.exe src/main/wrapper/resources/cx-mac
55- git commit -m "Track Checkmarx CLI binaries with Git LFS"
56-
5727 - name : Create Pull Request
5828 if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
5929 uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
Original file line number Diff line number Diff line change 1- 2.2.6
1+ 2.2.5
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments