Skip to content

fix(deps): update module github.com/prometheus/client_golang to v1.19.1 #119

fix(deps): update module github.com/prometheus/client_golang to v1.19.1

fix(deps): update module github.com/prometheus/client_golang to v1.19.1 #119

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
go-version: [1.15.x,1.16.x]
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.txt