Skip to content

System tray updates for Windows #1870

System tray updates for Windows

System tray updates for Windows #1870

Workflow file for this run

name: Go Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# 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: Install libpcap
run: sudo apt-get install libpcap-dev
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
- name: Run Unit tests
env:
GOPRIVATE: github.com/getlantern
run: |
go mod tidy
go test -failfast -coverprofile=profile.cov ./...
- name: Install goveralls
env:
GO111MODULE: auto
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github