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

Commit

Permalink
Merge pull request #19 from LF-Engineering/fix-cicd-pipeline
Browse files Browse the repository at this point in the history
Fix cicd pipeline
  • Loading branch information
khalifapro authored Aug 30, 2022
2 parents 68cec49 + c79dbea commit 284d5cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
command: git config --global url."https://${GITHUB_TOKEN}:[email protected]/LF-Engineering".insteadOf "https://github.com/LF-Engineering"
- run:
name: Build Executable
command: make confluence
command: make
- setup_remote_docker
- persist_to_workspace:
root: ./
Expand Down Expand Up @@ -78,7 +78,10 @@ jobs:
workflows:
build-connector:
jobs:
- build
- build:
filters:
tags:
only: /.*/
- deploy_dev:
context:
- development
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,19 @@ fmt: ${GO_BIN_FILES}
${GO_FMT} ${GO_BIN_FILES}

lint: ${GO_BIN_FILES}
go get -u golang.org/x/lint/golint
${GO_LINT} ${GO_BIN_FILES}

vet: ${GO_BIN_FILES}
go mod vendor
${GO_VET} ${GO_BIN_FILES}

imports: ${GO_BIN_FILES}
go install golang.org/x/tools/cmd/goimports@latest
${GO_IMPORTS} ${GO_BIN_FILES}

errcheck: ${GO_BIN_FILES}
go install github.com/kisielk/errcheck@latest
${GO_ERRCHECK} ${GO_BIN_FILES}

check: fmt lint imports vet errcheck
Expand Down

0 comments on commit 284d5cb

Please sign in to comment.