Skip to content

Commit

Permalink
CBL-2504: Add submodule verification script (#2931)
Browse files Browse the repository at this point in the history
* CBL-2504: Add submodule verification script
* Update MyUtilities submodule remote to couchbasedeps one. And checked out the latest from couchbase-master
  • Loading branch information
jayahariv authored Jan 21, 2022
1 parent f7d01be commit daa33af
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check_deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2022-Present Couchbase, Inc.
#
# Use of this software is governed by the Business Source License included in
# the file licenses/BSL-Couchbase.txt. As of the Change Date specified in that
# file, in accordance with the Business Source License, use of this software
# will be governed by the Apache License, Version 2.0, included in the file
# licenses/APL2.txt.

name: Check Submodules

on:
pull_request:
branches:
- '**'

jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Only need one level for this check
fetch-depth: 0 # Pull all history or else we won't get branch info

- name: Check Submodules
working-directory: ${{github.workspace}}
run: |
pip install termcolor
./vendor/couchbase-lite-core/build_cmake/scripts/check_deps.py $GITHUB_BASE_REF ${{github.workspace}}
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/couchbase/couchbase-lite-core.git
[submodule "vendor/MYUtilities"]
path = vendor/MYUtilities
url = https://github.com/snej/MYUtilities.git
url = https://github.com/couchbasedeps/MYUtilities.git
2 changes: 1 addition & 1 deletion vendor/MYUtilities

0 comments on commit daa33af

Please sign in to comment.