Add Go Tests GitHub workflow
Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
This commit is contained in:
parent
8f29f90488
commit
30c1510967
2 changed files with 29 additions and 0 deletions
27
.github/workflows/go-tests.yml
vendored
Normal file
27
.github/workflows/go-tests.yml
vendored
Normal 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
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# GitHub Actions Runners Manager (garm)
|
||||
|
||||

|
||||
|
||||
Welcome to garm!
|
||||
|
||||
Garm enables you to create and automatically maintain pools of [self-hosted GitHub runners](https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners), with autoscaling that can be used inside your github workflow runs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue