File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
jobs :
10
- check :
11
- name : Golang Check
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v3
15
- - uses : actions/setup-go@v4
16
- with :
17
- go-version-file : go.mod
18
- cache : false
19
- - name : golangci-lint
20
- uses : golangci/golangci-lint-action@v3
21
- with :
22
- version : v1.53
23
- args : --timeout=15m
10
+ # check:
11
+ # name: Golang Check
12
+ # runs-on: ubuntu-latest
13
+ # steps:
14
+ # - uses: actions/checkout@v3
15
+ # - uses: actions/setup-go@v4
16
+ # with:
17
+ # go-version-file: go.mod
18
+ # cache: false
19
+ # - name: golangci-lint
20
+ # uses: golangci/golangci-lint-action@v3
21
+ # with:
22
+ # version: v1.53
23
+ # args: --timeout=15m
24
24
25
25
unit-test :
26
26
name : Unit test
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ CODEGEN_IMAGE := ghcr.io/slok/kube-code-generator:v1.27.0
44
44
PORT := 9710
45
45
46
46
# CMDs
47
- UNIT_TEST_CMD := go test ` go list ./... | grep -v /vendor/ ` -v
47
+ UNIT_TEST_CMD := go test ` go list ./... | grep -v /vendor/ | grep -v test/integration ` -v
48
48
GO_GENERATE_CMD := go generate ` go list ./... | grep -v /vendor/ `
49
49
GO_INTEGRATION_TEST_CMD := go test ` go list ./... | grep test/integration ` -v -tags='integration'
50
50
GET_DEPS_CMD := dep ensure
@@ -92,9 +92,8 @@ run: docker-build
92
92
image : deps-development
93
93
docker build \
94
94
-t $(SERVICE_NAME ) \
95
- -t $(REPOSITORY ) :latest \
95
+ -t $(REPOSITORY ) :test11 \
96
96
-t $(REPOSITORY ) :$(COMMIT ) \
97
- -t $(REPOSITORY ) :$(BRANCH ) \
98
97
-f $(APP_DIR ) /Dockerfile \
99
98
.
100
99
You can’t perform that action at this time.
0 commit comments