Skip to content

pkg/net/coap/service: fix tests #3400

pkg/net/coap/service: fix tests

pkg/net/coap/service: fix tests #3400

Workflow file for this run

name: Golangci-lint
# golangci-lint is a fast Go linters runner. It runs linters in parallel,
# uses caching, supports yaml config, has integrations with all major IDE and
# has dozens of linters included.
# see: https://github.com/golangci/golangci-lint-action
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: CPU Info
run: |
cat /proc/cpuinfo
echo "Number of cores: $(nproc)"
echo "Number of threads: $(nproc --all)"
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "^1.18" # The Go version to download (if necessary) and use.
check-latest: true
- run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m