mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
entc/gen: add redundant any() to withHooks to make linters work (#3360)
See https://github.com/golang/go/issues/58633 for more info.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Run linters
|
||||
uses: golangci/golangci-lint-action@v3.4.0
|
||||
with:
|
||||
version: v1.48.0
|
||||
version: v1.50.1 # The next version requires Go 1.20
|
||||
|
||||
unit:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
run: |
|
||||
status=$(git status --porcelain)
|
||||
if [ -n "$status" ]; then
|
||||
echo "you need to run 'go generate ./...' and commit the changes"
|
||||
echo "you need to run 'go generate ./...' in root and 'examples' dirs and commit the changes"
|
||||
echo "$status"
|
||||
git --no-pager diff
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user