Skip to content

Commit

Permalink
Merge 616c193 into 109e66a
Browse files Browse the repository at this point in the history
  • Loading branch information
maxekman committed Mar 8, 2021
2 parents 109e66a + 616c193 commit c3a0817
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,31 @@
name: Main

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15

- name: Test
run: go test -coverprofile=coverage.out ./...

- name: Convert coverage
uses: jandelgado/gcov2lcov-action@v1.0.5

- name: Upload coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov

0 comments on commit c3a0817

Please sign in to comment.