Add Reusable Workflows (3)
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -6,9 +6,9 @@ jobs:
|
|||||||
grammar-tests:
|
grammar-tests:
|
||||||
name: Grammar Tests
|
name: Grammar Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
uses: ./.github/workflows/treesitter.yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ./.github/workflows/treesitter.yaml
|
|
||||||
# Because our tree-sitter code is in a subdirectory,
|
# Because our tree-sitter code is in a subdirectory,
|
||||||
# and working-directory does not apply to uses, we
|
# and working-directory does not apply to uses, we
|
||||||
# are forced to specify calls to the CI ourselves.
|
# are forced to specify calls to the CI ourselves.
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ jobs:
|
|||||||
install-cli: true
|
install-cli: true
|
||||||
generate-treesitter:
|
generate-treesitter:
|
||||||
name: Generate Grammar
|
name: Generate Grammar
|
||||||
|
runs-on: ubuntu-latest
|
||||||
needs: install-treesitter
|
needs: install-treesitter
|
||||||
steps:
|
steps:
|
||||||
# Because our tree-sitter code is in a subdirectory,
|
# Because our tree-sitter code is in a subdirectory,
|
||||||
|
|||||||
Reference in New Issue
Block a user