Set up GitHub Actions (#77)

This commit is contained in:
Junegunn Choi
2024-04-30 09:47:30 +09:00
committed by GitHub
parent 87b1bb6996
commit fe76263e1f
3 changed files with 35 additions and 14 deletions

33
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
---
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Vim
run: sudo apt-get install vim
- name: Test
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git clone https://github.com/junegunn/vader.vim.git
git clone https://github.com/junegunn/seoul256.vim.git
vim -Nu <(cat << VIMRC
set rtp+=vader.vim
set rtp+=seoul256.vim
set rtp+=.
VIMRC) -c 'silent Vader! test/*' > /dev/null

View File

@@ -1,13 +0,0 @@
language: vim
before_script: |
git clone https://github.com/junegunn/vader.vim.git
git clone https://github.com/junegunn/seoul256.vim.git
script: |
vim -Nu <(cat << VIMRC
set rtp+=vader.vim
set rtp+=seoul256.vim
set rtp+=.
VIMRC) -c 'silent Vader! test/*' > /dev/null

View File

@@ -1,6 +1,7 @@
limelight.vim ![travis-ci](https://travis-ci.org/junegunn/limelight.vim.svg?branch=master)
limelight.vim ![GitHub Actions](https://img.shields.io/github/actions/workflow/status/junegunn/limelight.vim/test.yml?branch=master)
=============
Hyperfocus-writing in Vim.
![](https://raw.github.com/junegunn/i/master/limelight.gif)