.github: enable submodules sync for actions/checkout@v3

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-08-10 12:33:03 +03:00
parent 158d8e69a4
commit 3608314c15

View file

@ -94,11 +94,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Sync VM submodule
run: |
git submodule sync
git submodule update --init
submodules: 'true'
- name: Set up Go
uses: actions/setup-go@v4
@ -144,6 +140,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'true'
- name: Set up Go
uses: actions/setup-go@v4
@ -154,10 +151,5 @@ jobs:
- name: Update Go modules
run: go mod download -json
- name: Sync VM submodule
run: |
git submodule sync
git submodule update --init
- name: Run tests
run: go test -v -race ./...