build(deps): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 #609
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: lint and test | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint-go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- uses: actions/checkout@v4 | |
- uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.55 | |
args: --timeout 5m | |
lint-helm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Helm lint | |
shell: bash | |
run: | | |
helm lint ./helm/kubenurse/ | |
test-go: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Run unit tests | |
run: go test -race -covermode atomic -coverprofile=profile.cov ./... | |
- name: Send coverage report | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
go install github.com/mattn/[email protected] | |
goveralls -coverprofile=profile.cov -service=github |