fix(deps): update module github.com/prometheus/client_golang to v1.24.1 #464
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: Test Report | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| actions: read | |
| checks: write | |
| jobs: | |
| report: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Git Fetch | |
| run: git fetch --force --tags | |
| - name: Setup go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7 | |
| with: | |
| go-version: stable | |
| - name: Run Unit Tests | |
| run: make unit-test | |
| - name: Test Report | |
| uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3 | |
| if: success() || failure() | |
| with: | |
| name: Unit Test Results | |
| path: ./build/reports/**-test.xml | |
| reporter: java-junit | |
| fail-on-error: 'true' | |
| - name: Upload Reports | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: unit-test-reports | |
| path: ./build/reports/** |