chore: regen protos #890
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: Tests | |
| on: | |
| push: | |
| branches: ['master'] | |
| pull_request: | |
| # The branches below must be a subset of the branches above | |
| branches: ['master'] | |
| # Builds images for target boards. | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go: ['1.25'] | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: Setup Go ${{ matrix.go }} | |
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| - name: Cache tools | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ./.tools | |
| key: ${{ runner.os }}-aptre-tools-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-aptre-tools- | |
| - name: Build Javascript | |
| run: bun run build | |
| - name: Test Go | |
| run: bun run go:aptre -- test | |
| - name: Test Js | |
| run: bun run test:js | |
| - name: Lint Js | |
| run: bun run lint:js | |
| - name: Lint Go | |
| run: bun run lint:go | |
| - name: Depcheck Js | |
| run: bun run deps |