Skip to content

Commit 0d314a7

Browse files
committed
Add security CLI breaking changes check
1 parent 1a38c9e commit 0d314a7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/analysis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,29 @@ jobs:
5959
else
6060
echo "✅ No uncommented replace directives found in go.mod"
6161
fi
62+
63+
No-Security-Break:
64+
runs-on: ubuntu-latest
65+
steps:
66+
- name: Checkout Core Source
67+
uses: actions/checkout@v5
68+
with:
69+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
70+
71+
- name: Checkout Security CLI Source - Dev branch
72+
uses: actions/checkout@v5
73+
with:
74+
repository: jfrog/jfrog-security-cli
75+
ref: dev
76+
path: security-cli
77+
78+
- name: Replace To Local Core in Security CLI
79+
run: |
80+
cd security-cli
81+
go mod edit -replace github.com/jfrog/jfrog-cli-core=../
82+
go mod tidy
83+
84+
- name: Vet Security CLI
85+
run: |
86+
cd security-cli
87+
go vet ./...

0 commit comments

Comments
 (0)