Skip to content

Update k8s.io/apimachinery #1817

Update k8s.io/apimachinery

Update k8s.io/apimachinery #1817

Workflow file for this run

name: Go
on: [push]
jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Environment information
run: |
uname -a
go version
go env
- name: golangci-lint
if: matrix.platform == 'ubuntu-latest'
uses: golangci/golangci-lint-action@v6
- name: Test
run: go test -vet=off -count=1 ./...
- name: Test with -race
run: go test -vet=off -race -count=1 ./...
- name: Run
run: make run