Skip to content

feat(go): update kubernetes packages to v0.35.1 #214

feat(go): update kubernetes packages to v0.35.1

feat(go): update kubernetes packages to v0.35.1 #214

Workflow file for this run

---
name: PR - Check
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
lint:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Install pre-commit
run: sudo apt-get update -y && sudo apt-get install -y pre-commit codespell gitleaks
- name: Install golangci/golangci-lint
run: |
export GOLANGCI_LINT_VERSION=2.6.2
curl -sSLO "https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz"
tar -xzf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz -C /tmp
mv /tmp/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64/golangci-lint /usr/local/bin/golangci-lint
rm -rf /tmp/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64* golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz
- name: Clone the code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
with:
go-version-file: go.mod
- name: Check commits
run: pre-commit run --hook-stage manual --all-files