Skip to content

Muxer and expose internal client #27

Muxer and expose internal client

Muxer and expose internal client #27

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
checks:
name: Checks (${{ matrix.module }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
module: ['client', 'web']
defaults:
run:
working-directory: ${{ matrix.module }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.26'
cache-dependency-path: ${{ matrix.module }}/go.sum
- name: Vet
run: CGO_ENABLED=0 go vet ./...
- name: Staticcheck
run: go tool staticcheck -checks=all ./...
- name: Govulncheck
run: go tool govulncheck ./...
- name: Test
run: CGO_ENABLED=1 go tool gotest -v -race -count=1 ./...