Skip to content

Update module github.com/prometheus/client_golang to v1.11.1 [SECURIT… #106

Update module github.com/prometheus/client_golang to v1.11.1 [SECURIT…

Update module github.com/prometheus/client_golang to v1.11.1 [SECURIT… #106

Workflow file for this run

name: build
on:
push:
branches:
- "master"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.17.7
- name: Cache Go modules
uses: actions/[email protected]
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: |
go build
- name: Tests
run: |
go test ./...