Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit 284d5cb

Browse files
authored
Merge pull request #19 from LF-Engineering/fix-cicd-pipeline
Fix cicd pipeline
2 parents 68cec49 + c79dbea commit 284d5cb

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
command: git config --global url."https://${GITHUB_TOKEN}:x-oauth-basic@github.com/LF-Engineering".insteadOf "https://github.com/LF-Engineering"
1212
- run:
1313
name: Build Executable
14-
command: make confluence
14+
command: make
1515
- setup_remote_docker
1616
- persist_to_workspace:
1717
root: ./
@@ -78,7 +78,10 @@ jobs:
7878
workflows:
7979
build-connector:
8080
jobs:
81-
- build
81+
- build:
82+
filters:
83+
tags:
84+
only: /.*/
8285
- deploy_dev:
8386
context:
8487
- development

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,19 @@ fmt: ${GO_BIN_FILES}
2222
${GO_FMT} ${GO_BIN_FILES}
2323

2424
lint: ${GO_BIN_FILES}
25+
go get -u golang.org/x/lint/golint
2526
${GO_LINT} ${GO_BIN_FILES}
2627

2728
vet: ${GO_BIN_FILES}
29+
go mod vendor
2830
${GO_VET} ${GO_BIN_FILES}
2931

3032
imports: ${GO_BIN_FILES}
33+
go install golang.org/x/tools/cmd/goimports@latest
3134
${GO_IMPORTS} ${GO_BIN_FILES}
3235

3336
errcheck: ${GO_BIN_FILES}
37+
go install github.com/kisielk/errcheck@latest
3438
${GO_ERRCHECK} ${GO_BIN_FILES}
3539

3640
check: fmt lint imports vet errcheck

0 commit comments

Comments
 (0)