-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1 addition
and
70 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
|
||
- name: Install Git LFS | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install git-lfs | ||
git lfs install | ||
|
||
- name: Use Node.js 14 | ||
uses: actions/[email protected] | ||
|
@@ -25,24 +17,6 @@ jobs: | |
run: npm run lint | ||
- run: npm run build --if-present | ||
|
||
- name: Check existence of cx-linux binary | ||
run: | | ||
if [ ! -f "src/main/wrapper/resources/cx-linux" ]; then | ||
echo "cx-linux binary does not exist"; exit 1; | ||
fi | ||
- name: Check existence of cx.exe binary | ||
run: | | ||
if [ ! -f "src/main/wrapper/resources/cx.exe" ]; then | ||
echo "cx.exe binary does not exist"; exit 1; | ||
fi | ||
- name: Check existence of cx-mac binary | ||
run: | | ||
if [ ! -f "src/main/wrapper/resources/cx-mac" ]; then | ||
echo "cx-mac binary does not exist"; exit 1; | ||
fi | ||
- name: Run tests | ||
env: | ||
CX_CLIENT_ID: ${{ secrets.CX_CLIENT_ID}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,19 +9,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
|
||
- name: Install Git LFS | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install git-lfs | ||
git lfs install | ||
- name: Configure Git user | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email [email protected] | ||
|
||
- name: Get Latest Checkmarx API version | ||
id: checkmarx-ast-cli | ||
|
@@ -37,23 +24,6 @@ jobs: | |
# Update current release | ||
echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version | ||
- name: Download latest cli and update branch | ||
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag | ||
run: | | ||
# Update binaries | ||
chmod +x ./.github/scripts/update_cli.sh | ||
./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }} | ||
- name: Track large files with Git LFS | ||
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag | ||
run: | | ||
git lfs track "src/main/wrapper/resources/cx-linux" | ||
git lfs track "src/main/wrapper/resources/cx.exe" | ||
git lfs track "src/main/wrapper/resources/cx-mac" | ||
git add .gitattributes | ||
git add src/main/wrapper/resources/cx-linux src/main/wrapper/resources/cx.exe src/main/wrapper/resources/cx-mac | ||
git commit -m "Track Checkmarx CLI binaries with Git LFS" | ||
- name: Create Pull Request | ||
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag | ||
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c #v6 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2.6 | ||
2.2.5 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.