From ddccefe3889211049bdb5ec04df3e0bb0b2d0b68 Mon Sep 17 00:00:00 2001 From: zhzhuang-zju Date: Mon, 6 May 2024 17:29:01 +0800 Subject: [PATCH] fix the action error with no go.sum file Signed-off-by: zhzhuang-zju --- .github/workflows/ci.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22a07f918..9eabec0df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,20 +34,13 @@ jobs: codegen: name: codegen runs-on: ubuntu-22.04 - env: - GOPATH: ${{ github.workspace }} - defaults: - run: - working-directory: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada steps: - name: checkout code uses: actions/checkout@v4 - with: - path: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada - name: install Go uses: actions/setup-go@v5 with: - go-version-file: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada/go.mod + go-version-file: go.mod - name: Install Protoc uses: arduino/setup-protoc@v3 with: