update lazy-lock.json #40
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: update lazy-lock.json | |
on: | |
schedule: | |
- cron: "0 0 * * 1" # 毎週月曜 9:00 (JST) に実行する | |
env: | |
TERM: xterm-256color | |
jobs: | |
neovim-setup-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo snap install --beta nvim --classic | |
- name: Run install.sh | |
run: | | |
ln -sf ${GITHUB_WORKSPACE} $HOME/dotfiles | |
${GITHUB_WORKSPACE}/install.sh | |
- uses: fregante/setup-git-user@v2 | |
- name: update lazy-lock.json | |
run: | | |
nvim --headless "+lua require('lazy').update({wait = true, show = false})" +q | |
git diff nvim | |
git add nvim/lazy-lock.json | |
git commit -m '[bot] update lazy-lock.json' && git push || true |