Skip to content

build(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient (#9549) #17497

build(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient (#9549)

build(deps): bump sigs.k8s.io/cloud-provider-azure/pkg/azclient (#9549) #17497

Workflow file for this run

name: Code Lint
on:
push:
branches: [ master, 'release-**' ]
paths:
- 'pkg/**.go'
- 'cmd/**.go'
- 'tests/**.go'
- 'go.*'
- '.github/**'
- 'hack/verify-updates.sh'
- '!vendor/**'
- '!pkg/azclient/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, 'release-**' ]
paths:
- 'pkg/**.go'
- 'cmd/**.go'
- 'tests/**.go'
- 'go.*'
- '.github/**'
- 'hack/verify-updates.sh'
- '!vendor/**'
- '!pkg/azclient/**'
workflow_dispatch:
permissions:
contents: read
jobs:
Lint:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
checks: write # for golangci/golangci-lint-action to create check runs
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Golang
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: 'go.mod'
check-latest: true
cache-dependency-path: |
go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v2.5.0
args: -v
install-mode: goinstall
verify: true