diff --git a/.github/workflows/macos_test.yaml b/.github/workflows/macos_test.yaml index ec4c1d8d5..a70c949b7 100644 --- a/.github/workflows/macos_test.yaml +++ b/.github/workflows/macos_test.yaml @@ -24,7 +24,7 @@ jobs: go-version: 1.21 - name: Install KCL CLI - run: go install kcl-lang.io/cli/cmd/kcl@main + run: go install kcl-lang.io/cli/cmd/kcl@latest - run: clang --version - run: cargo --version diff --git a/.github/workflows/ubuntu_test.yaml b/.github/workflows/ubuntu_test.yaml index cf907faa9..5bc45df25 100644 --- a/.github/workflows/ubuntu_test.yaml +++ b/.github/workflows/ubuntu_test.yaml @@ -52,7 +52,7 @@ jobs: run: export PATH=$PATH:$PWD/../_build/dist/ubuntu/kclvm/bin && make test-runtime shell: bash - name: Install KCL CLI - run: go install kcl-lang.io/cli/cmd/kcl@main + run: go install kcl-lang.io/cli/cmd/kcl@latest - name: Unit test working-directory: ./kclvm diff --git a/.github/workflows/windows_test.yaml b/.github/workflows/windows_test.yaml index ea187619f..40aa986e1 100644 --- a/.github/workflows/windows_test.yaml +++ b/.github/workflows/windows_test.yaml @@ -19,7 +19,7 @@ jobs: go-version: 1.21 - name: Install KCL - run: go install kcl-lang.io/cli/cmd/kcl@main + run: go install kcl-lang.io/cli/cmd/kcl@latest - uses: ilammy/msvc-dev-cmd@v1