Bump github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring from 0.76.0 to 0.76.2 #194
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
basic: | |
name: basic | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- uses: actions/checkout@v4 | |
- run: go mod tidy && git diff --exit-code go.mod go.sum | |
- run: go run github.com/elastic/[email protected] --config docs/config.yaml --renderer=markdown --output-path docs/api-reference.md | |
helm: | |
name: helm-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.54 | |
ginkgo: | |
name: unit-test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- uses: actions/checkout@v4 | |
- run: go run github.com/onsi/ginkgo/v2/[email protected] -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: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: coverprofile.out.filtered |