Skip to content

Commit

Permalink
ci: create load_vimrc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Feb 4, 2024
1 parent c3cc248 commit 31c2cb8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/load_vimrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: load_vimrc

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
load_vimrc:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v3
- name: install vim-tiny
- run: sudo apt update && sudo apt install vim-tiny
- name: single vimrc with vi
run: vi -E -s -u .vimrc -c "qa!"
- name: install vim
run: sudo apt install vim
- name: single vimrc
run: vim -E -s -u .vimrc -c "qa!"
- name: full vimrc
run: ln -s `pwd`/root/.vim ~/.vim && vim -E -s -c "qa!"

0 comments on commit 31c2cb8

Please sign in to comment.