Skip to content

Bump github.com/prometheus/prometheus from 0.45.0 to 0.46.0 #1644

Bump github.com/prometheus/prometheus from 0.45.0 to 0.46.0

Bump github.com/prometheus/prometheus from 0.45.0 to 0.46.0 #1644

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
cache: true
cache-dependency-path: tools/golangci-lint/go.sum
- name: Lint code
run: make lint
format:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
cache: true
cache-dependency-path: tools/gofumpt/go.sum
- name: Format code
run: make format
- name: Check for local changes
run: git diff --exit-code