From c75e2bb8b6adb6ee17c843f29c78ff38032058d7 Mon Sep 17 00:00:00 2001 From: xmh1011 <1197843839@qq.com> Date: Tue, 6 Feb 2024 10:16:08 +0800 Subject: [PATCH] ci: update ci workflows Signed-off-by: xmh1011 <1197843839@qq.com> --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b1de9d8..8f37e62f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,6 @@ jobs: uses: wagoid/commitlint-github-action@v5 GoLint: name: "Code Analysis" - needs: CommitLint runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -41,10 +40,6 @@ jobs: - uses: WillAbides/setup-go-faster@v1.14.0 with: go-version: "1.21" - - name: Run go version check - run: make go-version-check - - name: Run go vet check - run: make go-vet-check - name: Run golang-ci-lint uses: golangci/golangci-lint-action@v3.6.0 with: @@ -53,9 +48,12 @@ jobs: only-new-issues: true skip-pkg-cache: true skip-build-cache: true + - name: Run go version check + run: make go-version-check + - name: Run go vet check + run: make go-vet-check BuildCheck: name: "Go Build Check" - needs: GoLint runs-on: ubuntu-latest timeout-minutes: 30 steps: