Skip to content

Merge pull request #5 from mycrEEpy/renovate/github.com-prometheus-cl… #45

Merge pull request #5 from mycrEEpy/renovate/github.com-prometheus-cl…

Merge pull request #5 from mycrEEpy/renovate/github.com-prometheus-cl… #45

Workflow file for this run

name: Go Build & Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build
run: go build -v .
- name: Test
run: go test -v $(go list ./... | grep -v /examples/) -coverprofile coverage.txt
- name: Coverage
uses: ncruces/go-coverage-report@v0
with:
coverage-file: coverage.txt