ci: added basic build and test workflow (#3)

This commit is contained in:
Felipe Martin Garcia 2022-08-07 12:30:20 +02:00 committed by GitHub
parent 79120738ea
commit d98546b445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/workflows/go.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Go
on:
push:
branches: ["latest"]
pull_request:
branches: ["latest"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test and coverage
run: go test -cover -v ./...