aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-19 12:15:45 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-19 12:20:22 +0100
commit6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a (patch)
tree389f5b5739bbf5527a848ed109643e736a125287 /.github/workflows
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar.gz
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar.bz2
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar.lz
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar.xz
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.tar.zst
nvim-treesitter-6ef19f9d9d3fdcbe0f042a896e35fd0e5322ce2a.zip
ci(tests): download highlight-assertions for faster CI
This avoids any Rust build dependencies.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tests.yml21
1 files changed, 3 insertions, 18 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 98bb68744..1b445573e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -30,28 +30,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- - uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: nightly
-
- - name: Cache .cargo
- id: cargo-cache
- uses: actions/cache@v2
- with:
- path: |
- ~/.cargo/bin/
- ~/.cargo/registry/index/
- ~/.cargo/registry/cache/
- ~/.cargo/git/db/
- key: ${{ matrix.os }}-rust-cargo-v1
-
- name: Test Dependencies
run: |
mkdir -p ~/.local/share/nvim/site/pack/plenary.nvim/start
cd ~/.local/share/nvim/site/pack/plenary.nvim/start
git clone https://github.com/nvim-lua/plenary.nvim
- ~/.cargo/bin/cargo +nightly install --force --git https://github.com/theHamsta/highlight-assertions --locked
+ curl -L https://github.com/theHamsta/highlight-assertions/releases/download/v0.1.5/highlight-assertions_v0.1.5_x86_64-unknown-linux-gnu.tar.gz | tar -xz
+ cp highlight-assertions /usr/local/bin
- name: Install and prepare Neovim
env:
@@ -75,4 +60,4 @@ jobs:
nvim --headless -c "TSInstallSync all" -c "q"
- name: Tests
- run: PATH=~/.cargo/bin:$PATH ./scripts/run_tests.sh
+ run: PATH=/usr/local/bin:$PATH ./scripts/run_tests.sh