testing: Update CI to Use Proper Image
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -5,7 +5,7 @@ name: Continuous Integration
|
|||||||
jobs:
|
jobs:
|
||||||
grammar-tests:
|
grammar-tests:
|
||||||
name: Grammar Tests
|
name: Grammar Tests
|
||||||
runs-on: ubuntu-latest-full
|
runs-on: ubuntu-build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
working-directory: ./tree-sitter-p4
|
working-directory: ./tree-sitter-p4
|
||||||
library-tests:
|
library-tests:
|
||||||
name: Library Tests
|
name: Library Tests
|
||||||
runs-on: ubuntu-latest-full
|
runs-on: ubuntu-build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- run: swift test
|
- run: swift test
|
||||||
library-format-tests:
|
library-format-tests:
|
||||||
name: Library Format Tests
|
name: Library Format Tests
|
||||||
runs-on: ubuntu-latest-full
|
runs-on: ubuntu-build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
on: [workflow_call]
|
|
||||||
|
|
||||||
name: Install Treesitter
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
install-treesitter:
|
|
||||||
name: Install Treesitter
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- run: env
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
- uses: tree-sitter/setup-action@v2
|
|
||||||
with:
|
|
||||||
install-cli: true
|
|
||||||
- run: ls -latr /opt/hostedtoolcache/tree-sitter/cli/bin/
|
|
||||||
generate-grammar:
|
|
||||||
name: Install Treesitter
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: install-treesitter
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- run: ls -latr /opt/hostedtoolcache/tree-sitter/cli/bin/
|
|
||||||
- run: /opt/hostedtoolcache/tree-sitter/cli/bin/tree-sitter generate
|
|
||||||
working-directory: ./tree-sitter-p4
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user