Bump github.com/prometheus/prometheus from 0.301.0 to 0.302.0 #35
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: checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
check-golang: | |
runs-on: ubuntu-latest | |
name: Golang and UI Linting | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Import environment variables from file | |
run: cat ".github/env" >> $GITHUB_ENV | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.golang-version }}" | |
check-latest: true | |
cache: true | |
- name: Tidy Go modules and check for changes | |
run: make tidy && git diff --exit-code | |
- name: Run GolangCI Lint | |
uses: golangci/golangci-lint-action@v6.3.3 | |
with: | |
version: v1.60.3 | |
args: --timeout 10m0s --go ${{ env.golang-version }} | |
format: | |
runs-on: ubuntu-latest | |
name: Documentation Formatting Check | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Import environment variables from file | |
run: cat ".github/env" >> $GITHUB_ENV | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.golang-version }}" | |
check-latest: true | |
cache: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "${{ env.golang-version }}" | |
check-latest: true | |
- name: Tidy Go modules | |
run: make tidy | |
- name: Check Documentation | |
run: make check-docs |