Skip to content

Commit 60ed92c

Browse files
authored
Merge pull request #13 from michaelblyons/ci
Add GitHub Action CI test
2 parents 9afd9c5 + 46a630a commit 60ed92c

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/syntax.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Syntax Tests
2+
# https://github.com/sublimetext/syntax-test-action
3+
4+
on:
5+
push:
6+
paths:
7+
- '.github/workflows/*'
8+
- '**.sublime-syntax'
9+
- '**/syntax_test_*'
10+
- '**.tmPreferences'
11+
pull_request:
12+
paths:
13+
- '.github/workflows/*'
14+
- '**.sublime-syntax'
15+
- '**/syntax_test_*'
16+
- '**.tmPreferences'
17+
18+
jobs:
19+
main:
20+
name: Syntax Tests (${{ matrix.build }})
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 15
23+
strategy:
24+
matrix:
25+
include:
26+
- build: 'latest'
27+
packages: master
28+
- build: 'stable'
29+
packages: binary
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: SublimeText/syntax-test-action@v2
33+
with:
34+
build: ${{ matrix.build }}
35+
package_name: 'Hosts'

0 commit comments

Comments
 (0)