Skip to content

Merge pull request #45 from getlantern/myles/parallel-masquerade-checks #132

Merge pull request #45 from getlantern/myles/parallel-masquerade-checks

Merge pull request #45 from getlantern/myles/parallel-masquerade-checks #132

Workflow file for this run

name: Build and Test
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Run unit tests
run: go test -failfast -coverprofile=profile.cov
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github