Bump k8s.io/client-go from 0.26.3 to 0.31.2 #178
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: Go | |
on: | |
push: | |
branches: | |
- "**" | |
tags-ignore: | |
- "*" | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- reopened | |
branches: | |
- main | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
jobs: | |
lint: | |
name: Go Mod Tidy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4.0.0 | |
with: | |
go-version: "1.20.1" | |
- name: Check Go module tidiness | |
shell: bash | |
run: | | |
go mod tidy | |
STATUS=$(git status --porcelain go.mod go.sum) | |
if [ ! -z "$STATUS" ]; then | |
echo "Running go mod tidy modified go.mod and/or go.sum" | |
exit 1 | |
fi |