Skip to content

Commit

Permalink
Merge 041fe26 into ca571db
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflint committed Apr 20, 2021
2 parents ca571db + 041fe26 commit d3f3dca
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Go

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

build_and_test:
name: Build and test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
go: ['1.13', '1.14', '1.15', '1.16']

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

- name: Checkout
uses: actions/checkout@v2

- name: Build
run: go build -v .

- name: Test
run: go test -v -coverprofile=profile.cov .

- name: Send coverage
run: bash <(curl -s https://codecov.io/bash) -f profile.cov

0 comments on commit d3f3dca

Please sign in to comment.