feat: add nvim plugins (#127) #266
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: Check provision | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
WORKSPACE_REPOSITORY_URL: https://github.com/rikuson/workspace.git | |
jobs: | |
cui: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache gem | |
uses: actions/cache@v4 | |
with: | |
path: /Library/Ruby/Gems | |
key: cui-${{ runner.os }}-gem-${{ hashFiles('install.sh') }} | |
restore-keys: | | |
cui-${{ runner.os }}-gem- | |
- name: Cache homebrew | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/usr/local/Cellar | |
/Users/runner/Library/Caches/Homebrew | |
key: cui-${{ runner.os }}-homebrew-packages-${{ hashFiles('install.sh', 'roles/*/tasks/homebrew.yml') }} | |
restore-keys: | | |
cui-${{ runner.os }}-homebrew-packages- | |
- name: Cache asdf | |
uses: actions/cache@v4 | |
with: | |
path: /Users/runner/.asdf | |
key: cui-${{ runner.os }}-asdf-${{ hashFiles('install.sh') }} | |
restore-keys: | | |
cui-${{ runner.os }}-asdf- | |
- name: Cache neovim plugin | |
uses: actions/cache@v4 | |
with: | |
path: /Users/runner/.local/share/nvim/site/pack | |
key: cui-${{ runner.os }}-nvim-${{ hashFiles('roles/*/tasks/neovim.yml') }} | |
restore-keys: | | |
cui-${{ runner.os }}-nvim- | |
- name: Relink homebrew | |
run: brew link --overwrite ansible pinentry-mac asdf || true | |
- name: Install | |
run: /bin/zsh ./install.sh | |
- name: Play cui tasks | |
run: make cui | |
os: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache gem | |
uses: actions/cache@v4 | |
with: | |
path: /Library/Ruby/Gems | |
key: os-${{ runner.os }}-gem-${{ hashFiles('install.sh') }} | |
restore-keys: | | |
os-${{ runner.os }}-gem- | |
- name: Cache homebrew | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/usr/local/Cellar | |
/Users/runner/Library/Caches/Homebrew | |
key: os-${{ runner.os }}-homebrew-packages-${{ hashFiles('install.sh', 'roles/*/tasks/homebrew.yml') }} | |
restore-keys: | | |
os-${{ runner.os }}-homebrew-packages- | |
- name: Cache asdf | |
uses: actions/cache@v4 | |
with: | |
path: /Users/runner/.asdf | |
key: os-${{ runner.os }}-asdf-${{ hashFiles('install.sh') }} | |
restore-keys: | | |
os-${{ runner.os }}-asdf- | |
- name: Relink homebrew | |
run: brew link --overwrite ansible || true | |
- name: Install | |
run: /bin/zsh ./install.sh | |
- name: Play os tasks | |
run: make os |