Bump github.com/klauspost/compress from 1.16.7 to 1.17.4 #205
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/codecov-action@v1.1.1 |