Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4 #69
Workflow file for this run
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: Go build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build Go | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Check go fmt has been run | |
run: | | |
echo 'Check if go fmt has been run' | |
make go_fmt | |
[[ "$(git diff --name-only | wc -l)" -eq "0" ]] | |
- name: Build | |
run: make |