Skip to content

Fix linting errors #140

Fix linting errors

Fix linting errors #140

Workflow file for this run

name: Go test
on:
push:
branches:
- '*'
tags:
- '!v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install dependencies
run: sudo apt update && sudo apt install -y make libpcap-dev
- name: Build
run: make
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
skip-pkg-cache: true
- name: Test
run: make test