Skip to content

feat: OBS-385 - go test github workflow #2

feat: OBS-385 - go test github workflow

feat: OBS-385 - go test github workflow #2

Workflow file for this run

name: go-test
on:
push:
branches:
- "!release"
pull_request:
jobs:
build:
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 ./...