Update go memcache #138
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: 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 |