Skip to content

Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3 #193

Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3

Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3 #193

Workflow file for this run

name: Build and test PR
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
name: Build and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
check-latest: true
- uses: actions/cache@v4 # ratchet:actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build binary
run: |
go build
- name: Run tests
run: |
go test ./...