Skip to content

Commit

Permalink
feat: OBS-385 - go test github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
  • Loading branch information
mfiedorowicz committed Feb 2, 2024
1 parent 01bad08 commit 6fad8ab
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 }}
run: go build ./...
- name: Run go test ${{ matrix.go }}
run: go test ./...

0 comments on commit 6fad8ab

Please sign in to comment.