Skip to content

Bump github.com/nutanix/ntnx-api-golang-clients/vmm-go-client/v4 from 4.0.1-beta.1 to 4.0.3-alpha.1 #497

Bump github.com/nutanix/ntnx-api-golang-clients/vmm-go-client/v4 from 4.0.1-beta.1 to 4.0.3-alpha.1

Bump github.com/nutanix/ntnx-api-golang-clients/vmm-go-client/v4 from 4.0.1-beta.1 to 4.0.3-alpha.1 #497

Workflow file for this run

name: Build, Lint, and Test
env:
EXPORT_RESULT: true
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/golangci-lint
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install devbox
uses: jetify-com/devbox-install-action@v0.11.0
with:
enable-cache: "true"
- name: Run golangci-lint
run: devbox run -- make lint-go
- name: Check YAML linting
run: devbox run -- make lint-yaml
- name: Check Kubebuilder Annotation linting
run: devbox run -- make lint-kubebuilder
- name: Prepare coverage report
run: devbox run -- make coverage
- name: Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./coverage.out # Replace with the path to your coverage report
fail_ci_if_error: true