]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Use setup-clang action
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 17 Jan 2022 05:08:52 +0000 (21:08 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 17 Jan 2022 05:08:52 +0000 (21:08 -0800)
.github/workflows/unitests.yml
test/unit_tests.vim

index 3bffb6dc9613c0ed303b43e074d9cf8be5578e0b..d299629b48ac265ea7374e5c19c977a35e740edd 100644 (file)
@@ -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
index 98c5af31bf64947986e81c21bce6f1fd43daa13a..5b267c28f014c2520ca814884b690fc9dae49a8c 100644 (file)
@@ -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)