Skip to content

bump k8s dependencies to 1.30 (#39) #111

bump k8s dependencies to 1.30 (#39)

bump k8s dependencies to 1.30 (#39) #111

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
jobs:
static-check:
name: yacht-static-check
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: on
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
strategy:
max-parallel: 3
## this will contain a matrix of all combinations
## we wish to test again:
matrix:
go-version: [ 1.21.x, 1.22.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Cache go modules and build cache
uses: actions/cache@v4.0.2
with:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
${{ env.GOPATH }}/pkg/mod
${{ env.GOPATH }}/pkg/sumdb
~/.cache/go-build
~/Library/Caches/go-build
# %LocalAppData%\go-build
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ matrix.os }}-go-
- name: Golang Lint
run: make lint
- name: Verify changes
run: |
make verify