Skip to content

add priority cache, improve reqCtx interface, add option to disable p… #65

add priority cache, improve reqCtx interface, add option to disable p…

add priority cache, improve reqCtx interface, add option to disable p… #65

Workflow file for this run

name: DGate CI
on:
push:
branches: [ "**" ]
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- name: Build & Install
run: |
go mod download
go build -v ./...
- name: Test
run: |
go test -coverprofile=coverage.txt -v ./...
go tool cover -func=coverage.txt
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: dgate-io/dgate
- name: Benchmark
run: |
go test -bench=. -run=^# ./...