Skip to content

http: add Engine.OnRequest #1191

http: add Engine.OnRequest

http: add Engine.OnRequest #1191

Workflow file for this run

name: Build-Windows
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
env:
GO111MODULE: off
jobs:
Build-Windows:
name: Build-Windows
strategy:
fail-fast: false
matrix:
go: [1.18.x]
os: [windows-latest]
runs-on: ${{ matrix.os}}
steps:
- name: install golang
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: checkout
uses: actions/checkout@v2
- name: go env
run: |
printf "$(go version)\n"
printf "\n\ngo environment:\n\n"
go get -u github.com/lesismal/nbio/...
go env
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: go test
run: go test -covermode=atomic -timeout 60s -coverprofile="./coverage"
- name: update code coverage report
uses: codecov/codecov-action@v1.2.1
with:
files: "./coverage"
flags: unittests
verbose: true
name: codecov-nbio