Skip to content

Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.86.2 to 0.87.0 #329

Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.86.2 to 0.87.0

Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.86.2 to 0.87.0 #329

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
env:
GO_VERSION: ~1.24.10
jobs:
basic:
name: basic
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- uses: actions/checkout@v6
- run: go mod tidy && git diff --exit-code go.mod go.sum
- run: go run github.com/elastic/crd-ref-docs@v0.2.0 --config docs/config.yaml --renderer=markdown --output-path docs/api-reference.md --source-path=apis
helm:
name: helm-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: helm lint helm/haproxy-operator/ --strict
- run: helm template chart helm/haproxy-operator > /dev/null
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.6.2
ginkgo:
name: unit-test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- uses: actions/checkout@v6
- run: go run github.com/onsi/ginkgo/v2/ginkgo@v2.27.2 -r --randomize-all --randomize-suites --race --trace --fail-on-pending --keep-going --vet off --cover
- run: cat coverprofile.out | grep -v "zz_generated." > coverprofile.out.filtered
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverprofile.out.filtered