Skip to content

build(deps): bump github.com/go-chi/chi/v5 from 5.3.1 to 5.3.2 #2

build(deps): bump github.com/go-chi/chi/v5 from 5.3.1 to 5.3.2

build(deps): bump github.com/go-chi/chi/v5 from 5.3.1 to 5.3.2 #2

Workflow file for this run

name: test
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 1
- uses: actions/setup-go@v7
with:
go-version: stable
- run: go test -v ./... -race -bench=. -benchmem -cover -coverprofile cover.out 2>&1 | tee test.out
- run: go tool cover -func cover.out
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 1
- uses: actions/setup-go@v7
with:
go-version: stable
- run: go mod tidy -diff
- run: go vet ./...
- uses: dominikh/staticcheck-action@v1.4.1
with:
install-go: false
- uses: golangci/golangci-lint-action@v9
with:
version: latest
- uses: golang/govulncheck-action@v1
with:
repo-checkout: false
- run: go fix -diff ./... | awk '{print} /\S/ {found=1} END {if (found) exit 1}'
spell-check:
name: spell-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: crate-ci/typos@v1.49.0