Create go.yml

This commit is contained in:
Prashant Gupta 2022-10-03 21:42:20 -07:00 committed by GitHub
parent bc8e9f234c
commit f42d90b70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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