Create go.yml

This commit is contained in:
Oskar 2021-10-27 22:26:02 +02:00 committed by GitHub
parent 9c76d66885
commit ec571e8c14
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:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...