Bump k8s.io/client-go from 0.31.0-beta.0 to 0.32.0-alpha.0 #2516
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: build | |
on: | |
push: | |
tags: | |
- "*" | |
branches: | |
- master | |
pull_request: | |
jobs: | |
images: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: images/build -d | |
linters: | |
name: lint and vendor check / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] # TODO: pass linters on 'macos-10.15' and 'windows-2019' | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
cache: false | |
- name: Set env | |
shell: bash | |
run: | | |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | |
- name: Cache go modules and build cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
'%LocalAppData%\go-build' # Windows | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src/github.com/kubernetes-sigs/cri-tools | |
- name: Make check | |
shell: bash | |
run: | | |
make lint | |
make verify-boilerplate | |
hack/verify-go-modules.sh | |
hack/verify-docs.sh | |
working-directory: src/github.com/kubernetes-sigs/cri-tools | |
- name: Test | |
shell: bash | |
run: make test-crictl | |
working-directory: src/github.com/kubernetes-sigs/cri-tools | |
releases: | |
name: releases / on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 40 | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, macos-12] # TODO: make releases on 'linux-ppc64le' 'windows-2019' | |
# Ref: https://github.com/uraimo/run-on-arch-action | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
cache: false | |
- name: Set env | |
shell: bash | |
run: | | |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | |
- name: Cache go modules and build cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
'%LocalAppData%\go-build' # Windows | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src/github.com/kubernetes-sigs/cri-tools | |
fetch-depth: 0 | |
- name: Make release | |
shell: bash | |
run: make release | |
working-directory: src/github.com/kubernetes-sigs/cri-tools |