Skip to content

build(deps): Bump k8s.io/code-generator from 0.25.4 to 0.27.1 #1980

build(deps): Bump k8s.io/code-generator from 0.25.4 to 0.27.1

build(deps): Bump k8s.io/code-generator from 0.25.4 to 0.27.1 #1980

Workflow file for this run

name: linters
on:
push:
branches:
- master
pull_request:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-20.04
env:
REPOSITORY: ${{ github.repository }}
steps:
- name: Set up Go env
uses: actions/setup-go@v3
with:
go-version: 1.19.2
- uses: actions/checkout@v3
with:
fetch-depth: 1
path: go/src/github.com/${{ env.REPOSITORY }}
- name: Set $GOPATH
run: |
echo "GOPATH=${{ github.workspace }}/go" >> $GITHUB_ENV
echo "${{ github.workspace }}/go/bin" >> $GITHUB_PATH
shell: bash
- name: Prepare codebase for linter (generates deps, stubs)
run: |
cd go/src/github.com/${{ env.REPOSITORY }}
make lint-prepare
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.3.1
with:
version: v1.50
working-directory: go/src/github.com/${{ env.REPOSITORY }}