Skip to content

fix: rust toolchain installation #7

fix: rust toolchain installation

fix: rust toolchain installation #7

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
unit_tests:
name: unit tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
rev: [nightly, v0.9.5, v0.10.0]
include:
- os: ubuntu-22.04
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y
install-gg: cargo install grip-grab
- os: macos-12
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y
install-gg: cargo install grip-grab
- os: windows-2022
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y
install-gg: cargo install grip-grab
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.rev }}
- name: Prepare
run: |
${{ matrix.install-cargo }}
${{ matrix.install-gg }}
gg --version
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ../plenary.nvim
- name: Run tests
run: |
nvim --version
make test