Skip to content

Commit

Permalink
Merge branch 'cloudwego:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyJavaBean committed Mar 1, 2024
2 parents b6d7681 + c8cac02 commit af97589
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
uses: apache/skywalking-eyes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
run: |
test -z "$(gofmt -s -l .)"
go vet -stdmethods=false $(go list ./...)
#
# - name: Lint
# run: |
# test -z "$(gofmt -s -l .)"
# go vet -stdmethods=false $(go list ./...)

- name: Unit Test
run: go test -v -race -covermode=atomic -coverprofile=coverage.out ./...
1 change: 1 addition & 0 deletions validator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ func (g *generator) generateListValidation(vc *ValidateContext) error {

vc.ValCtx.WithTarget(elemName)
vt := &ValidateContext{
AST: vc.AST,
FieldName: elemName,
RawFieldName: elemName,
Resolver: vc.Resolver,
Expand Down

0 comments on commit af97589

Please sign in to comment.