kubeeye/.github/workflows/ci.yml

29 lines
439 B
YAML

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: go build -v -o ke
- name: Test
run: go test -v ./pkg/...