feat: add type alias code generation (#55) #347
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: Test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: "1.23" | |
| - name: Install webrpc-gen (development) | |
| run: git clone --single-branch https://github.com/webrpc/webrpc.git --branch feat/type-alias && cd webrpc && make install | |
| - name: Regenerate examples | |
| run: cd _examples && make generate | |
| - name: Git diff of regenerated files | |
| run: cd _examples && make diff |