use devbox to run linguist validation #2
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@v3 | |
- name: Install devbox | |
uses: jetpack-io/[email protected] | |
- name: Pcre Install | |
run: devbox run --pure pcre_install | |
- name: Linguist Build | |
run: devbox run --pure linguist_build | |
- name: Linguist Compile | |
run: devbox run --pure linguist_compile |