Skip to content

Add unit test for stats logging in forwarder. #1193

Add unit test for stats logging in forwarder.

Add unit test for stats logging in forwarder. #1193

Workflow file for this run

name: Go
on:
push:
paths:
- "**.go"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.0
- name: Build
run: go build -v ./cmd/...
- name: vet
run: go vet ./...
- name: gofmt
uses: Jerome1337/[email protected]
with:
gofmt-flags: "-l -d"
- name: golint
uses: Jerome1337/[email protected]
- name: Revive Action
uses: morphy2k/[email protected]
- name: Tests
run: go test -v ./...