Skip to content

Move to github actions #2

Move to github actions

Move to github actions #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install goveralls
run: go install github.com/mattn/goveralls@b031368
- name: Build
run: go build
- name: Test
run: go test -v -covermode=count -coverprofile=coverage.out
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile.out -service=github