Skip to content

Commit

Permalink
migrate ci to github action
Browse files Browse the repository at this point in the history
Signed-off-by: Woojoong Kim <[email protected]>
  • Loading branch information
woojoong88 committed Jul 2, 2024
1 parent 9ee4cef commit f177d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ license: # @HELP run license checks
python3 -m pip install reuse;\
reuse lint

lint: buflint # @HELP examines Go source code and reports coding problems
lint: # @HELP examines Go source code and reports coding problems
golangci-lint --version | grep $(GOLANG_CI_VERSION) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b `go env GOPATH`/bin $(GOLANG_CI_VERSION)
cd servicemodels/e2sm_kpm && golangci-lint run --timeout 5m && cd ..
cd servicemodels/e2sm_rc && golangci-lint run --timeout 5m && cd ..
Expand All @@ -98,7 +98,7 @@ lint: buflint # @HELP examines Go source code and reports coding problems
cd protoc-gen-builder/ && golangci-lint run --timeout 5m && cd ..

buflint: #@HELP run the "buf check lint" command on the proto files in 'api'
docker run \
docker run -it \
-v `pwd`:/go/src/github.com/onosproject/onos-e2-sm \
-v `pwd`/../onos-lib-go/api/asn1:/go/src/github.com/onosproject/onos-e2-sm/servicemodels/asn1 \
-w /go/src/github.com/onosproject/onos-e2-sm/servicemodels \
Expand Down

0 comments on commit f177d7e

Please sign in to comment.