Skip to content

Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 #164

Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0

Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 #164

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
- name: Install Task
run: go install github.com/go-task/task/v3/cmd/task@latest
- name: Install mockgen
run: go install github.com/golang/mock/mockgen@latest
- name: Generate mocks
run: go generate ./pkg/... ./internal/...
- name: Run Unit tests
run: go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: covprofile
force-coverage-parser: go