Go-test github action, go workspace, refactors, bumped version in packages/compiler|runtime/package.json #3
This file contains hidden or 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: Go Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.work | |
| - name: Compile grammar to wasm | |
| run: ./golang/runtime/generate.sh | |
| - name: Run Go tests | |
| working-directory: golang/runtime | |
| run: go test ./... |