Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Bump golang.org/x/sys from 0.0.0-20210119212857-b64e53b001e4 to 0.1.0 #78

Bump golang.org/x/sys from 0.0.0-20210119212857-b64e53b001e4 to 0.1.0

Bump golang.org/x/sys from 0.0.0-20210119212857-b64e53b001e4 to 0.1.0 #78

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
tests:
name: Unit and integrations tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.13", "1.14", "1.15", "1.16"]
steps:
- name: Install libpcap dependencies
run: sudo apt update && sudo apt install libpcap-dev
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- name: Run tests
run: |
go test -v -p 1 -race -coverprofile=covprofile -covermode=atomic ./...
- if: ${{ matrix.go == 1.15 }}
name: Update coverage
uses: shogo82148/actions-goveralls@v1.4.2
with:
path-to-profile: covprofile
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Install libpcap dependencies
run: sudo apt update && sudo apt install libpcap-dev
- uses: actions/checkout@v2
- name: Run lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32
args: --timeout 5m
spellcheck:
name: Spellcheck docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Run spellcheck
run: |
go get github.com/client9/misspell/cmd/misspell
misspell -error docs/docs