File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 5959 else
6060 echo "✅ No uncommented replace directives found in go.mod"
6161 fi
62+
63+ Validate-CLI-Compatibility :
64+ name : Validate ${{ matrix.repo }} Compatibility
65+ runs-on : ubuntu-latest
66+ strategy :
67+ fail-fast : false
68+ matrix :
69+ include :
70+ - repo : jfrog-cli-security
71+ branch : dev
72+ - repo : jfrog-cli-artifactory
73+ branch : main
74+
75+ steps :
76+ - name : Checkout CLI Core Source
77+ uses : actions/checkout@v5
78+ with :
79+ ref : ${{ github.event.pull_request.head.sha || github.ref }}
80+
81+ - name : Checkout ${{ matrix.repo }} Source - ${{ matrix.branch }} branch
82+ uses : actions/checkout@v5
83+ with :
84+ repository : jfrog/${{ matrix.repo }}
85+ ref : ${{ matrix.branch }}
86+ path : ${{ matrix.repo }}
87+
88+ - name : Replace To Local Core in ${{ matrix.repo }}
89+ run : |
90+ cd ${{ matrix.repo }}
91+ go mod edit -replace github.com/jfrog/jfrog-cli-core/v2=${GITHUB_WORKSPACE}
92+ go mod tidy
93+
94+ - name : Run go vet on ${{ matrix.repo }}
95+ run : |
96+ cd ${{ matrix.repo }}
97+ go vet ./...
You can’t perform that action at this time.
0 commit comments