Skip to content

NOISSUE - Add Service Layer Tracing #54

NOISSUE - Add Service Layer Tracing

NOISSUE - Add Service Layer Tracing #54

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --no-config --disable-all --enable gosimple --enable errcheck --enable govet --enable unused --enable deadcode --timeout 3m
- name: Build
run: |
go build -mod=vendor -ldflags="-linkmode=external -extldflags=-static -s -w" cmd/agent/main.go
go build -mod=vendor -ldflags "-s -w" cmd/cli/main.go
- name: Run tests
run: go test -mod=vendor -v --race -covermode=atomic -coverprofile cover.out ./...