Skip to content

Bump github.com/lmittmann/w3 from 0.19.5 to 0.20.6 #325

Bump github.com/lmittmann/w3 from 0.19.5 to 0.20.6

Bump github.com/lmittmann/w3 from 0.19.5 to 0.20.6 #325

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: fmt
run: diff -u <(echo -n) <(gofmt -s -d .)
- name: go vet
run: go vet ./...
- name: staticcheck
run: go run honnef.co/go/tools/cmd/staticcheck@latest ./...
- name: go mod tidy
run: |
go mod tidy -diff
cd examples/ && go mod tidy -diff
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: go test
run: go test -covermode atomic -coverprofile=covprofile ./...
- name: install goveralls
run: go install github.com/mattn/goveralls@latest
- name: send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github