This repository has been archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add test bootstrap in github action (#1)
* chore(ci): add test bootstrap in github action * feat(bootstrap): create ismachine function [-] isDarwin [-] isLinux [+] isMachine string * feat(vim): use silent! for colorscheme when use silent! we ignore an error E185 in vim
- Loading branch information
Showing
3 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: bootstrap test linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
- run: sudo apt-get install yadm | ||
- run: yadm clone https://github.com/ri7nz/.dotifiles | ||
- run: yadm checkout ${{ github.head_ref }} | ||
- run: yadm bootstrap | ||
mac: | ||
name: bootstrap test mac | ||
runs-on: macos-latest | ||
steps: | ||
- name: Git checkout | ||
uses: actions/checkout@v2 | ||
- run: brew install yadm | ||
- run: yadm clone https://github.com/ri7nz/.dotifiles | ||
- run: yadm checkout ${{ github.head_ref }} | ||
- run: yadm bootstrap |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,4 @@ let g:lightline = { | |
if (has("termguicolors")) | ||
set termguicolors | ||
endif | ||
colorscheme edge | ||
silent! colorscheme edge |