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 e1b3f3f
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-18.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 e1b3f3f

Please sign in to comment.