Skip to content

Add Version Command (#12) #169

Add Version Command (#12)

Add Version Command (#12) #169

Workflow file for this run

name: go-memcache
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
services:
memcached:
image: bitnami/memcached:1.6.18
ports:
- 11211:11211
env:
MEMCACHED_CACHE_SIZE: 256
memcached_auth:
image: quangtung97/memcached:1.6.18
ports:
- 11212:11211
env:
MEMCACHED_USERNAME: user01
MEMCACHED_PASSWORD: password01
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: Convert coverage.out to coverage.lcov
uses: jandelgado/[email protected]
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov