From 155a327e840d224c03deb20ab60690ee795af3ce Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 16 Jan 2022 21:08:52 -0800 Subject: [PATCH] Use setup-clang action --- .github/workflows/unitests.yml | 8 +++++--- test/unit_tests.vim | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unitests.yml b/.github/workflows/unitests.yml index 3bffb6d..d299629 100644 --- a/.github/workflows/unitests.yml +++ b/.github/workflows/unitests.yml @@ -5,9 +5,11 @@ jobs: name: linux runs-on: ubuntu-latest steps: - - name: Install packages - run: | - sudo apt update && sudo apt install -y clangd-12 + - name: Set up Clang + uses: egor-tensin/setup-clang@v1 + with: + version: 13 + platform: x64 - name: Checkout Code uses: actions/checkout@v2 - name: Setup Vim diff --git a/test/unit_tests.vim b/test/unit_tests.vim index 98c5af3..5b267c2 100644 --- a/test/unit_tests.vim +++ b/test/unit_tests.vim @@ -10,7 +10,7 @@ set rtp+=../ source ../plugin/lsp.vim var lspServers = [{ filetype: ['c', 'cpp'], - path: '/usr/bin/clangd-12', + path: '/usr/bin/clangd-13', args: ['--background-index', '--clang-tidy'] }] lsp#addServer(lspServers) -- 2.50.0