feat(kafka-observ-lib): Expand kafka-observ-lib alerts/panels descriptions and add new alerts #1340
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: Build | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| jobs: | |
| setup: | |
| name: Setup tools | |
| runs-on: ubuntu-latest | |
| outputs: | |
| cache-hit: ${{ steps.tools-cache.outputs.cache-hit }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 | |
| with: | |
| go-version: 1.23 | |
| - name: Tools cache | |
| id: tools-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/go/bin | |
| /usr/local/bin/promtool | |
| key: ${{ runner.os }}-tools-${{ hashFiles('Makefile') }} | |
| - name: Install CI dependencies | |
| if: steps.tools-cache.outputs.cache-hit != 'true' | |
| run: make install-ci-deps | |
| lint-fmt: | |
| name: Lint and Format | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 | |
| with: | |
| go-version: 1.23 | |
| - name: Restore Tools cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/go/bin | |
| /usr/local/bin/promtool | |
| key: ${{ runner.os }}-tools-${{ hashFiles('Makefile') }} | |
| - name: Lint and Format | |
| run: make lint-fmt | |
| tests: | |
| name: Run Tests | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 | |
| with: | |
| go-version: 1.23 | |
| - name: Restore Tools cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/go/bin | |
| /usr/local/bin/promtool | |
| key: ${{ runner.os }}-tools-${{ hashFiles('Makefile') }} | |
| - name: Run Tests | |
| run: make tests |