Skip to content

Bump github.com/klauspost/compress from 1.16.7 to 1.17.2 #195

Bump github.com/klauspost/compress from 1.16.7 to 1.17.2

Bump github.com/klauspost/compress from 1.16.7 to 1.17.2 #195

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '>=1.17.0'
- name: Install brotli
run: sudo apt-get install libbrotli-dev
- name: Build
run: go build -v ./...
- name: Test
run:
go test -race -count=5 -coverprofile=coverage.txt -covermode=atomic ./...
(cd contrib/gin-gonic/gin && go test -race)
(cd contrib/gofiber/fiber/v2 && go test -race)
(cd contrib/labstack/echo && go test -race)
- name: Profile memory
run:
go test -run=^$ -bench=. -short -memprofile mem.prof
go tool pprof -sample_index alloc_objects -top mem.prof
go tool pprof -sample_index alloc_space -top mem.prof
- name: Codecov
uses: codecov/[email protected]