Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Golang" | |
on: pull_request | |
jobs: | |
golang_linting: | |
name: Linting Golang Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: './go.mod' | |
- name: Download module dependencies | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: go mod download | |
- name: Run go fmt | |
run: make fmt | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
- name: Run go tests | |
run: make test |