Add Go Tests GitHub workflow

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
This commit is contained in:
Ionut Balutoiu 2022-09-07 16:14:54 +03:00
parent 8f29f90488
commit 30c1510967
2 changed files with 29 additions and 0 deletions

27
.github/workflows/go-tests.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Go Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- run: go version
- name: Run GARM Go Tests
run: make test