Skip to content

[2315] Add OpenstackCreds validating webhook scaffold #5808

[2315] Add OpenstackCreds validating webhook scaffold

[2315] Add OpenstackCreds validating webhook scaffold #5808

name: golangci-lint
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
if: "!startsWith(github.head_ref, 'pre-release/')"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.27.x'
cache-dependency-path: k8s/migration/go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.13.2
working-directory: k8s/migration