build(deps): update module github.com/prometheus/common to v0.70.0 #4421
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: 'Testing and Test Coverage' | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - 'main' | |
| permissions: | |
| contents: 'read' | |
| jobs: | |
| cover: | |
| name: 'Coverage' | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: 'Harden Runner' | |
| uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 | |
| with: | |
| egress-policy: 'audit' | |
| - name: 'Set up Go' | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: 1.25 | |
| - name: 'Checkout' | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: 'Get Dependencies' | |
| run: | | |
| go get -v -t -d ./... | |
| - name: 'Test' | |
| run: | | |
| go test -coverprofile=coverage.txt -v ./... | |
| - name: 'Coverage' | |
| uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| build: | |
| name: 'Build' | |
| runs-on: 'ubuntu-latest' | |
| strategy: | |
| matrix: | |
| go: | |
| - '1.25' | |
| fail-fast: false | |
| steps: | |
| - name: 'Harden Runner' | |
| uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3 | |
| with: | |
| egress-policy: 'audit' | |
| - name: 'Set up Go ${{ matrix.go }}' | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: 'Checkout' | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: 'Get Dependencies' | |
| run: | | |
| go get -v -t -d ./... | |
| - name: 'Build' | |
| run: | | |
| go build -v ./... | |
| - name: 'Test' | |
| run: | | |
| go test -v ./... |