diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-21 19:15:46 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-21 22:06:17 +0100 |
| commit | ff97dfac7f5358172f67135ac10acefd41c4ec5e (patch) | |
| tree | 870f92a4ba04c79c3fe440936e63c4e05928a4d0 /.github/workflows | |
| parent | ci: use stable tag for latest nvim release (diff) | |
| download | nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar.gz nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar.bz2 nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar.lz nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar.xz nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.tar.zst nvim-treesitter-ff97dfac7f5358172f67135ac10acefd41c4ec5e.zip | |
ci: add cache for Rust dependency
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/tests.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 450459206..9f58f436f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,13 +30,19 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + + - uses: Swatinem/rust-cache@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 - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --profile minimal - ~/.cargo/bin/cargo install --git https://github.com/theHamsta/highlight-assertions + ~/.cargo/bin/cargo +nightly install --git https://github.com/theHamsta/highlight-assertions --locked - name: Install and prepare Neovim env: |
