* fix boilerplate verification * fix go fmt error * fix go mod error * bump e2e-test-runner version * bump github ci workflow to go 1.17 * bump go.mod to 1.17
This commit is contained in:
parent
f3c50698d9
commit
f44bbe9b03
10 changed files with 112 additions and 6 deletions
|
|
@ -193,7 +193,7 @@ def get_regexs():
|
|||
'(%s)' % "|".join(map(lambda l: str(l), years)))
|
||||
# strip // +build \n\n build constraints
|
||||
regexs["go_build_constraints"] = re.compile(
|
||||
r"^(// \+build.*\n)+\n", re.MULTILINE)
|
||||
r"^((// \+build.*\n)|(//go:build.*\n))+\n", re.MULTILINE)
|
||||
# strip #!.* from shell scripts
|
||||
regexs["shebang"] = re.compile(r"^(#!.*\n)\n*", re.MULTILINE)
|
||||
return regexs
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
//go:build tools
|
||||
// +build tools
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue