mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #325 from prymitive/go-mod-drop-tidy
fix(ci): drop go module tidy check from travis
This commit is contained in:
@@ -42,6 +42,8 @@ jobs:
|
||||
- DESC="Lint Go code"
|
||||
before_script:
|
||||
- make mock-assets
|
||||
# https://github.com/golang/go/issues/26794
|
||||
- GO111MODULE=on go mod download
|
||||
script: make lint-go
|
||||
|
||||
- stage: Lint
|
||||
@@ -75,10 +77,10 @@ jobs:
|
||||
- nvm install $(< .nvmrc)
|
||||
script:
|
||||
- export GO111MODULE=on
|
||||
# https://github.com/golang/go/issues/26794
|
||||
- go mod download
|
||||
# compile assets via webpack and build those into bindata_assetfs.go file
|
||||
- make bindata_assetfs.go
|
||||
# tidy module deps to ensure we only have what we needed (git diff will pick it up)
|
||||
- go mod tidy -v
|
||||
# verify that there are no uncommited changes from (re)compiling sass
|
||||
# assets
|
||||
- git diff --exit-code
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": ["config:base"],
|
||||
"prConcurrentLimit": 1,
|
||||
"prConcurrentLimit": 3,
|
||||
"rebaseStalePrs": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user