update(deps): update module github.com/prometheus/client_golang to v1.24.0 #1163
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
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: Build & Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Build | |
| run: make build | |
| - name: Goreleaser Dry-run | |
| run: make release-binaries | |
| - name: Test | |
| run: make test | |
| - name: Slack Notification on Failure | |
| if: ${{ failure() && github.ref == 'refs/heads/main' }} | |
| run: | | |
| curl -X POST \ | |
| -H 'Content-type: application/json' \ | |
| --data '{ | |
| "channel": "#team-oms-sdk", | |
| "icon_emoji": ":siren:", | |
| "text": "🚨 Build Job Failure 🚨\nRepository: ${{ github.repository }}\nBranch/Ref: `${{ github.ref }}`\nRun url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
| }' \ | |
| ${{ secrets.PACKAGE_JOB_SLACK_WEBHOOK }} | |
| integration-tests: | |
| uses: ./.github/workflows/integration-test.yml | |
| secrets: inherit |