Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

fix(deps): update github.com/insomniacslk/dhcp digest to ddd8a41 #221

fix(deps): update github.com/insomniacslk/dhcp digest to ddd8a41

fix(deps): update github.com/insomniacslk/dhcp digest to ddd8a41 #221

Workflow file for this run

---
name: Linting and Test
# Run for all pushes to main and pull requests when Go or YAML files change
on:
push:
paths:
- go.mod
- go.sum
- '**.go'
- '**.yaml'
branches:
- main
pull_request:
paths:
- go.mod
- go.sum
- '**.go'
- '**.yaml'
jobs:
golangci:
name: lint-and-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.17'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42
args: --timeout=5m
- name: Run go tests and generate coverage report
run: go test -race -coverprofile=coverage.txt -covermode=atomic -tags testtools -p 1 ./...
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: codecov-umbrella