mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 11:28:48 -06:00
skip go-mod
This commit is contained in:
11
.drone.star
11
.drone.star
@@ -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
4
.gitignore
vendored
@@ -39,3 +39,7 @@ vendor-bin/**/composer.lock
|
||||
|
||||
# protogen autogenerated
|
||||
protogen/buf.sha1.lock
|
||||
|
||||
# licenses
|
||||
licenses.csv
|
||||
/licenses
|
||||
|
||||
Reference in New Issue
Block a user