Skip to content

Bump k8s.io/api from 0.30.1 to 0.30.2 #97

Bump k8s.io/api from 0.30.1 to 0.30.2

Bump k8s.io/api from 0.30.1 to 0.30.2 #97

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
permissions:
pull-requests: write
contents: write
env:
GO_VERSION: "1.22"
GOPRIVATE: "github:com/NCCloud/*"
jobs:
tests:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout
uses: actions/checkout@v4
- name: Validate
run: |
./devops.sh generate
git diff --exit-code
- name: Test Preparation
run: |
./devops.sh prepare_envtest
- name: Coverage Report
uses: gwatts/go-coverage-action@v1
id: coverage
with:
coverage-threshold: 80
cover-pkg: ./...
ignore-pattern: |
.*cmd.*
.*mocks.*
.*apis.*
.*generated.*