File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # This github action checks if the grammar(s) in this repo will compile with the latest version of linguist.
2+
3+ name : Linguist Compilation Check
4+ on :
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+
10+ jobs :
11+ compile-check :
12+ runs-on : ubuntu-latest
13+
14+ defaults :
15+ run :
16+ working-directory : linguist
17+
18+ steps :
19+ - name : Clone linguist
20+ working-directory : ${{ github.workspace }}
21+ run : |
22+ git clone --depth 1 https://github.com/github-linguist/linguist.git
23+ cd linguist
24+ git submodule init
25+
26+ - name : Set up Ruby
27+ uses : ruby/setup-ruby@v1
28+ with :
29+ working-directory : linguist
30+ ruby-version : ' 3.3'
31+ bundler-cache : true
32+
33+ - name : Compile linguist grammar
34+ run : ./script/add-grammar --replace ${{ github.event.repository.name }} https://github.com/${{ github.repository }}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ _unreleased_
77- Support snippets and language config for VB6 and WWB too ([ GH-130 ] [ gh-130 ] )
88- docs: improve readme structure and add icons
99- docs: add grammar structure overview
10+ - ci: ensure GitHub linguist can compile the grammars ([ GH-134 ] [ gh-134 ] )
1011- build: restructure pnpm commands
1112- build: reduce and update dependencies
1213
@@ -31,7 +32,9 @@ _2025-04-09_
3132## Changes before 1.0.0
3233_ To [ 0.x changelog] ( docs/changelog_v0.md ) _
3334
35+
3436<!-- links -->
37+ [ gh-134 ] : https://github.com/serkonda7/vscode-vba/pull/134
3538[ gh-130 ] : https://github.com/serkonda7/vscode-vba/pull/130
3639[ gh-129 ] : https://github.com/serkonda7/vscode-vba/pull/129
3740[ gh-128 ] : https://github.com/serkonda7/vscode-vba/pull/128
You can’t perform that action at this time.
0 commit comments