Skip to content

Commit

Permalink
Add a workflow for CI using github actions
Browse files Browse the repository at this point in the history
Signed-off-by: ATechnoHazard <[email protected]>
  • Loading branch information
SphericalKat committed Oct 20, 2019
1 parent 7d46b76 commit 3cad024
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
go: [ '1.11', '1.12', '1.13' ]

steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go

- name: Checkout repo
uses: actions/checkout@v1

- name: Get dependencies
run: |
go get -v -t -d
- name: Build
run: |
go build .

0 comments on commit 3cad024

Please sign in to comment.