fix gf.yaml (#2385)

* fix gf.yaml

* up
This commit is contained in:
John Guo
2023-01-03 14:33:41 +08:00
committed by GitHub
parent 5884a0e05f
commit 5a8b33fa09
4 changed files with 10 additions and 10 deletions

View File

@ -40,8 +40,10 @@ for file in `find . -name go.mod`; do
go mod tidy
go build ./...
go test ./... -race -coverprofile=coverage.out -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
if grep -q "/gogf/gf/.*/v2" go.mod; then
sed -i "s/gogf\/gf\(\/.*\)\/v2/gogf\/gf\/v2\1/g" coverage.out
fi
cd -
done

View File

@ -180,9 +180,7 @@ jobs:
run: bash .github/workflows/before_script.sh
- name: Build & Test
run: |
GOARCH=${{ matrix.goarch }}
bash .github/workflows/build_and_test.sh
run: bash .github/workflows/build_and_test.sh
- name: Stop Redis Cluster Containers
run: docker-compose -f ".github/workflows/redis/docker-compose.yml" down