chore(deps): update module github.com/prometheus/common to v0.65.0 #2913
Workflow file for this run
This file contains hidden or 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 Lint | |
on: | |
push: | |
branches: | |
- 3.x | |
pull_request: | |
branches: | |
- 3.x | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Go mod cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-mod | |
- name: Tools cache | |
uses: actions/cache@v4 | |
env: | |
cache-name: go-tools-cache | |
with: | |
path: .tools | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('./internal/tools/**') }} | |
- name: GolangCI-Lint cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/golangci-lint | |
key: ${{ runner.os }}-golangci-lint-${{ hashFiles('**/.golangci.yml') }} | |
restore-keys: ${{ runner.os }}-golangci-lint- | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
check-latest: true | |
cache: false | |
- name: Run lint | |
run: make lint | |
- name: Build | |
run: make build | |
- name: Check clean repository | |
run: make check-clean-work-tree |