Skip to content

Merge pull request #62 from Ragin-LundF/develop #311

Merge pull request #62 from Ragin-LundF/develop

Merge pull request #62 from Ragin-LundF/develop #311

Workflow file for this run

name: Go
on:
push:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Install required tools
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev xorg-dev
- name: Set up Go 1.4
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
run: go build -v .
- name: Go report card
uses: creekorful/goreportcard-action@v1.0
- name: Test with coverage
run: go test ./... -v -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.2
with:
infile: coverage.out
outfile: coverage.lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov