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:
Anton Telyshev
2023-03-12 11:47:07 +02:00
committed by GitHub
parent bbbedf53af
commit 148f7d51a0
38 changed files with 40 additions and 38 deletions

View File

@@ -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