From 2b660afced0f2f55e0cf9d97621ca5918271b778 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Sat, 15 Jul 2023 15:30:32 +0800 Subject: [PATCH] cicd: add ci workflow Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/workflows/openim-ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/openim-ci.yml b/.github/workflows/openim-ci.yml index 436a88650..fc3c92308 100644 --- a/.github/workflows/openim-ci.yml +++ b/.github/workflows/openim-ci.yml @@ -60,11 +60,11 @@ jobs: - name: Run go modules tidy run: | - make tidy + sudo make tidy - name: Run go format run: | - make format + sudo make format echo "Run go format successfully" continue-on-error: true @@ -72,18 +72,13 @@ jobs: # run: | # make generate - # - name: Check syntax and styling of go sources - # run: | - # set -e - # make lint - # - name: Run unit test and get test coverage # run: | # make cover - name: Build source code for host platform run: | - make build + sudo make build echo "Build source code for host platform successfully" # - name: Collect Test Coverage File @@ -116,4 +111,4 @@ jobs: - name: Run OpenIM make install start run: | - make install \ No newline at end of file + sudo make install \ No newline at end of file