blob: df395893522083522e0355a6c3812efa34196279 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
name: Metadata diff checker
on:
schedule:
- cron: "0 * * * *"
push:
branches:
- "main"
pull_request:
jobs:
metadata-diff-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.6.0
- name: Clone dependencies
run: |
mkdir -p ~/.local/share/nvim/site/pack/packer/start
git clone --depth 1 https://github.com/neovim/nvim-lspconfig ~/.local/share/nvim/site/pack/packer/start/nvim-lspconfig
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/packer/start/plenary.nvim
- name: Run autogen_metadata.sh script
run: ./scripts/autogen_metadata.sh
- name: Ensure there are no diffs
run: |
git update-index --refresh
git diff-index --quiet HEAD --
|