-
Notifications
You must be signed in to change notification settings - Fork 8
46 lines (44 loc) · 1.24 KB
/
continuous-integration.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI Syntax Tests
on:
push:
push:
- '**'
paths:
- '.github/workflows/continuous-integration.yml'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/continuous-integration.yml'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
workflow_dispatch:
jobs:
syntax_tests:
name: Sublime Text ${{ matrix.build }}
runs-on: ubuntu-latest
timeout-minutes: 15 # default is 6 hours!
env:
package_name: Sass
strategy:
matrix:
include:
- build: 4149 # first supported ST build
default_packages: v4149
- build: latest # latest available ST build
default_packages: master
steps:
- name: Checkout ${{ env.package_name }}
uses: actions/checkout@v3
- name: Run Syntax Tests for Sublime Text ${{ matrix.build }}
uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
default_packages: ${{ matrix.default_packages }}
package_name: ${{ env.package_name }}
package_root: ${{ env.package_name }}
additional_packages: Sass