Skip to content

Bump golang.org/x/sys from 0.0.0-20200116001909-b77594299b42 to 0.1.0 in /contrib/gin-gonic/gin #169

Bump golang.org/x/sys from 0.0.0-20200116001909-b77594299b42 to 0.1.0 in /contrib/gin-gonic/gin

Bump golang.org/x/sys from 0.0.0-20200116001909-b77594299b42 to 0.1.0 in /contrib/gin-gonic/gin #169

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
- 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]