Initial Commit #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Syntax Tests | |
on: | |
push: | |
push: | |
- '**' | |
paths: | |
- '.github/workflows/ci-syntax-tests.yml' | |
- '**.sublime-syntax' | |
- '**/syntax_test_*' | |
- '**.tmPreferences' | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- '.github/workflows/ci-syntax-tests.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! | |
strategy: | |
matrix: | |
include: | |
- build: 4107 # first supported ST build | |
default_packages: v4107 | |
- build: latest # latest available ST build | |
default_packages: master | |
steps: | |
- name: Checkout ${{ env.package_name }} | |
uses: actions/checkout@v4 | |
- name: Run Syntax Tests for Sublime Text ${{ matrix.build }} | |
uses: SublimeText/syntax-test-action@v2 | |
with: | |
build: ${{ matrix.build }} | |
default_packages: ${{ matrix.default_packages }} |