feat: Rust and Java SDKs, TypeScript SDK, browser demo refactor #15
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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| jobs: | |
| go: | |
| name: Go tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| cache-dependency-path: go/go.sum | |
| - name: Test | |
| working-directory: go | |
| run: go test ./... -count=1 -v | |
| - name: Build | |
| working-directory: go | |
| run: go build ./... | |
| typescript: | |
| name: TypeScript tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| cache-dependency-path: ts/package-lock.json | |
| - name: Install | |
| working-directory: ts | |
| run: npm ci | |
| - name: Type check | |
| working-directory: ts | |
| run: npx tsc --noEmit | |
| - name: Vector tests | |
| working-directory: ts | |
| run: npm run test:vectors | |
| - name: Signing tests | |
| working-directory: ts | |
| run: npm run test:signing | |
| interop: | |
| name: Interop matrix (12 positive + 3 negative) | |
| runs-on: ubuntu-latest | |
| needs: [go, typescript] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| cache-dependency-path: go/go.sum | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: npm | |
| cache-dependency-path: ts/package-lock.json | |
| - name: Install TypeScript dependencies | |
| working-directory: ts | |
| run: npm ci | |
| - name: Run interop matrix | |
| run: python3 interop_test.py |