Skip to content

feat: Set metricpipeline status based on alerts #16

feat: Set metricpipeline status based on alerts

feat: Set metricpipeline status based on alerts #16

Workflow file for this run

name: PR Code checks
on:
pull_request:
branches:
- "main"
- "release-*"
paths-ignore:
- 'docs/**'
- '**.md'
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Golang
uses: "./.github/template/setup-golang"
- name: Run tests
run: make test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Golang
uses: "./.github/template/setup-golang"
- name: Run lint
uses: golangci/golangci-lint-action@v3
with:
install-mode: binary
version: latest
args: --timeout=5m --config=./.golangci.yaml
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Golang
uses: "./.github/template/setup-golang"
- name: Run coverage check
run: make check-coverage