-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
3,511 additions
and
2,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,31 @@ orbs: | |
aws-ecr: circleci/[email protected] | ||
|
||
jobs: | ||
check-mock-gen: | ||
machine: | ||
image: ubuntu-2204:2024.01.1 | ||
steps: | ||
- checkout | ||
- go/install: | ||
version: "1.21.4" | ||
- go/load-cache: | ||
key: go-mod-v6-{{ checksum "go.sum" }} | ||
- go/mod-download | ||
- go/save-cache: | ||
key: go-mod-v6-{{ checksum "go.sum" }} | ||
path: "/home/circleci/.go_workspace/pkg/mod" | ||
- run: | ||
name: Run make mock-gen | ||
command: | | ||
make mock-gen | ||
- run: | ||
name: Check for uncommitted changes | ||
command: | | ||
if ! git diff --exit-code; then | ||
echo "Uncommitted changes detected. Please run 'make mock-gen' before committing." | ||
exit 1 | ||
fi | ||
build_lint_test: | ||
machine: | ||
image: ubuntu-2204:2024.01.1 | ||
|
@@ -85,6 +110,7 @@ jobs: | |
workflows: | ||
CI: | ||
jobs: | ||
- check-mock-gen | ||
- build_lint_test | ||
- build_docker: | ||
filters: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ build-docker: | |
|
||
.PHONY: build build-docker | ||
|
||
.PHONY: test | ||
test: | ||
go test ./... | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.