Skip to content

Commit 1b4e751

Browse files
authored
Merge pull request #54 from davidhcefx/enh-ci-add-include-list-check
enh(CI): Add CI to check nanorc included everything
2 parents e7380a8 + 319bc78 commit 1b4e751

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: include-list-check
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
included-all:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Run include-list-gen.sh
16+
run: ./tool/include-list-gen.sh
17+
18+
- name: Check if there's no difference
19+
run: git diff --exit-code nanorc || exit 1

nanorc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ include "~/.nano/twig.nanorc"
119119
include "~/.nano/v.nanorc"
120120
include "~/.nano/vala.nanorc"
121121
include "~/.nano/verilog.nanorc"
122+
include "~/.nano/vhdl.nanorc"
122123
include "~/.nano/vi.nanorc"
123124
include "~/.nano/x11basic.nanorc"
124125
include "~/.nano/xml.nanorc"

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Improved Nano Syntax Highlighting Files
22

33
[![shellcheck](https://github.com/galenguyer/nano-syntax-highlighting/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/galenguyer/nano-syntax-highlighting/actions/workflows/shellcheck.yml)
4+
[![included-all](https://github.com/galenguyer/nano-syntax-highlighting/actions/workflows/include-list-check.yml/badge.svg)](https://github.com/galenguyer/nano-syntax-highlighting/actions/workflows/include-list-check.yml)
45

56
This repository holds ``{lang}.nanorc`` files that have improved definitions of syntax highlighting for various languages.
67

0 commit comments

Comments
 (0)