Skip to content

Commit d059cc9

Browse files
authored
Add mage check to CI (#7)
1 parent 79c685a commit d059cc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ pipeline {
3636
steps {
3737
withGithubNotify(context: "Lint") {
3838
dir("${BASE_DIR}"){
39-
withGoEnv(){
39+
withMageEnv(){
4040
sh(label: 'lint', script: '''
4141
go mod tidy && git diff --exit-code
4242
gofmt -l . | read && echo "Code differs from gofmt's style. Run 'gofmt -w .'" 1>&2 && exit 1 || true
4343
''')
44+
sh(label: 'Mage check', script: 'mage check')
4445
sh(label: 'Go vet', script: 'go vet ./...')
4546
}
4647
}

0 commit comments

Comments
 (0)