Skip to content

Commit

Permalink
feat(ci): enable github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
c1982 authored Mar 25, 2021
1 parent b1e6719 commit 2a2b301
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go

on:
pull_request:
branches: [ main ]

jobs:

build:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.x

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 2a2b301

Please sign in to comment.