[fix] 1,修复读写并发问题 2,修复search查询出错不返回err 3,解除健康检查对etcd的依赖 4,golang-lint问题修复 #578
Workflow file for this run
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
name: Merge check | |
on: [push, pull_request] | |
jobs: | |
mongo-storage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: UT | |
run: | | |
sudo docker-compose -f ./examples/dev/docker-compose.yaml up -d | |
sleep 20 | |
export TEST_DB_KIND=mongo | |
export TEST_DB_URI=mongodb://kie:[email protected]:27017/servicecomb | |
time go test -v $(go list ./... | grep -v etcd | grep -v third_party | grep -v examples) | |
- name: Build kie images | |
run: | | |
cd build | |
time bash build_docker.sh |