use devbox to run linguist validation #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: GH linguist | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**/*.YAML-tmLanguages' | |
- '.github/workflows/*.yaml' | |
- 'devbox.json' | |
- '.gitmodules' | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
run: | |
name: GH linguist validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install devbox | |
uses: jetpack-io/[email protected] | |
- name: Pcre Install | |
run: devbox run pcre_install | |
- name: Linguist Build | |
run: devbox run linguist_build | |
- name: Linguist Compile | |
run: devbox run linguist_compile |