-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (40 loc) · 1.01 KB
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: memproxy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
services:
memcached:
image: memcached:1.6.18
ports:
- 11211:11211
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Install Tools
run: make install-tools
- name: Lint
run: make lint
- name: Test
run: make test
- name: Test Race
run: make test-race
- name: Benchmark
run: make benchmark
- name: Benchmark Stat
run: benchstat benchmark_new.txt benchmark_new.txt
- name: Benchmark Memory Allocation
run: make membench
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/gcov2lcov-action@v1.0.6
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov