Skip to content

Commit

Permalink
Add Github CI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid authored Aug 28, 2020
1 parent 13321a6 commit 670ac0c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go

on: [ push, pull_request ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: go mod download

- name: Test
run: go test -v .

0 comments on commit 670ac0c

Please sign in to comment.