Skip to content

Commit

Permalink
💚 ci: fix go-version value error on go.yaml lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jan 21, 2024
1 parent 71857e7 commit af6f358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: WillAbides/[email protected]
timeout-minutes: 3
with:
go-version: *
go-version: "*"

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion validating.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (r *Rule) Apply(v *Validation) (stop bool) {
var err error
// get real validator name
name := r.realName
// validator name is not "required"
// validator name is not "requiredXXX"
isNotRequired := r.nameNotRequired

// validate each field
Expand Down

0 comments on commit af6f358

Please sign in to comment.