feat(copilot): add integration (#803) #770
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Vim | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- "*.md" | |
branches: | |
- main | |
jobs: | |
ubuntu: | |
name: Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Vim | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get install vim-gtk lua5.4 | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
- name: Run vim | |
run: | | |
vim --version | |
vim -u tests/init.vim | |
macos: | |
name: Macos | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Vim | |
run: | | |
brew install vim | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
- name: Run vim | |
run: | | |
vim --version | |
vim -u tests/init.vim | |
windows: | |
name: Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Vim | |
run: | | |
choco install vim | |
C:\msys64\usr\bin\wget.exe -q https://downloads.sourceforge.net/project/luabinaries/5.4.2/Tools%20Executables/lua-5.4.2_Win64_bin.zip | |
7z x lua-5.4.2_Win64_bin.zip | |
move lua54.dll C:\Windows\System32\ | |
iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |` | |
ni $HOME/vimfiles/autoload/plug.vim -Force | |
- name: Run vim | |
run: | | |
vim --version | |
gvim -u tests/init.vim |