skip go-mod

This commit is contained in:
Willy Kloucek
2022-03-31 19:53:50 +02:00
parent 96af1ae0dc
commit 60b6b80ae7
2 changed files with 11 additions and 4 deletions

View File

@@ -389,10 +389,7 @@ def goLicenseCheck(ctx):
"os": "linux",
"arch": "amd64",
},
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
#makeNodeGenerate("") +
#makeGoGenerate("") +
#build() +
"steps": skipIfUnchanged(ctx, "go-mod") +
[
{
"name": "check-go-license",
@@ -1757,8 +1754,14 @@ def skipIfUnchanged(ctx, type):
acceptance = [
"^tests/acceptance/.*",
]
go_mod = [
"^go.mod",
"^go.sum"
]
skip = []
if type == "go-mod":
skip = go_mod
if type == "acceptance-tests":
skip = base + unit
if type == "unit-tests":

4
.gitignore vendored
View File

@@ -39,3 +39,7 @@ vendor-bin/**/composer.lock
# protogen autogenerated
protogen/buf.sha1.lock
# licenses
licenses.csv
/licenses