From 7666691a3b1e8d060ca7dc52e0693c3ad0c16c29 Mon Sep 17 00:00:00 2001 From: Liu Kebin Date: Sun, 2 Jun 2024 15:16:46 +0800 Subject: [PATCH] Remove action cache to avoid random fails --- .github/workflows/mac_neovim.yml | 8 -------- .github/workflows/mac_vim.yml | 8 -------- 2 files changed, 16 deletions(-) diff --git a/.github/workflows/mac_neovim.yml b/.github/workflows/mac_neovim.yml index 897fd2e2d..c06dee23e 100644 --- a/.github/workflows/mac_neovim.yml +++ b/.github/workflows/mac_neovim.yml @@ -51,19 +51,11 @@ jobs: repository: thinca/vim-themis path: ./vim-themis ref: v1.5.5 - - name: Cache gopls - id: cache-gopls - uses: actions/cache@v4 - with: - path: bin/gopls - key: ${{ runner.os }}-${{ env.VIM_LSP_GO_VERSION }}-${{ env.VIM_LSP_GOPLS_VERSION }}-${{ env.VIM_LSP_GOPLS_CACHE_VER }}-gopls - name: Install Go for gopls - if: steps.cache-gopls.outputs.cache-hit != 'true' uses: actions/setup-go@v5 with: go-version: ${{ env.VIM_LSP_GO_VERSION }} - name: Install gopls - if: steps.cache-gopls.outputs.cache-hit != 'true' shell: bash run: | go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }} diff --git a/.github/workflows/mac_vim.yml b/.github/workflows/mac_vim.yml index 0a1d7c7f8..1da6efbd1 100644 --- a/.github/workflows/mac_vim.yml +++ b/.github/workflows/mac_vim.yml @@ -27,19 +27,11 @@ jobs: repository: thinca/vim-themis path: ./vim-themis ref: v1.5.5 - - name: Cache gopls - id: cache-gopls - uses: actions/cache@v4 - with: - path: bin/gopls - key: ${{ runner.os }}-${{ env.VIM_LSP_GO_VERSION }}-${{ env.VIM_LSP_GOPLS_VERSION }}-${{ env.VIM_LSP_GOPLS_CACHE_VER }}-gopls - name: Install Go for gopls - if: steps.cache-gopls.outputs.cache-hit != 'true' uses: actions/setup-go@v5 with: go-version: ${{ env.VIM_LSP_GO_VERSION }} - name: Install gopls - if: steps.cache-gopls.outputs.cache-hit != 'true' shell: bash run: | go install golang.org/x/tools/gopls@v${{ env.VIM_LSP_GOPLS_VERSION }}