Skip to content

chore(deps): bump golang.org/x/net from 0.18.0 to 0.23.0 #80

chore(deps): bump golang.org/x/net from 0.18.0 to 0.23.0

chore(deps): bump golang.org/x/net from 0.18.0 to 0.23.0 #80

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Build and test
runs-on: ubuntu-latest
services:
hivemq:
image: hivemq/hivemq-ce:2023.9
ports:
- 1883:1883
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Build
run: go build -v ./...
- name: Run Test
env:
MQTT_BROKER_URL: "tcp://localhost:1883"
run: go test -race -v -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.56.2