We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mage check
1 parent 79c685a commit d059cc9Copy full SHA for d059cc9
.ci/Jenkinsfile
@@ -36,11 +36,12 @@ pipeline {
36
steps {
37
withGithubNotify(context: "Lint") {
38
dir("${BASE_DIR}"){
39
- withGoEnv(){
+ withMageEnv(){
40
sh(label: 'lint', script: '''
41
go mod tidy && git diff --exit-code
42
gofmt -l . | read && echo "Code differs from gofmt's style. Run 'gofmt -w .'" 1>&2 && exit 1 || true
43
''')
44
+ sh(label: 'Mage check', script: 'mage check')
45
sh(label: 'Go vet', script: 'go vet ./...')
46
}
47
0 commit comments