Skip to content

Update client-go for K8s 1.26 #295

Update client-go for K8s 1.26

Update client-go for K8s 1.26 #295

Workflow file for this run

name: unit-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unit-test:
if: github.repository_owner == 'keikoproj'
name: unit-test
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Test
run: |
go test -coverprofile ./coverage.txt -v ./...
- name: Upload to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./coverage.txt