-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ name: Check generated code | |
on: | ||
pull_request: | ||
branches: | ||
- v0.34.x | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
# | ||
# Invoke Mockery v2 to update generated mocks for the given type. | ||
# | ||
# This script runs a locally-installed "mockery" if available, otherwise it | ||
# runs the published Docker container. This legerdemain is so that the CI build | ||
# and a local build can work off the same script. | ||
# | ||
if ! which mockery ; then | ||
mockery() { | ||
docker run --rm -v "$PWD":/w --workdir=/w vektra/mockery:v2.12.3 | ||
} | ||
fi | ||
|
||
mockery --disable-version-string --case underscore --name "$@" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.