Skip to content

ci: OBS-392 Semantic release bare bones for monorepo. #13

ci: OBS-392 Semantic release bare bones for monorepo.

ci: OBS-392 Semantic release bare bones for monorepo. #13

Workflow file for this run

name: go-test
on:
push:
branches:
- "!release"
pull_request:
jobs:
go-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [
"diode-sdk-go",
"diode-server",
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
check-latest: true
- name: Run go build ${{ matrix.go }}
working-directory: ${{ matrix.go }}
run: go build ./...
- name: Run go test ${{ matrix.go }}
working-directory: ${{ matrix.go }}
run: go test -race ./...