Skip to content

install both dameonset and let the node selector or affinity decide w… #591

install both dameonset and let the node selector or affinity decide w…

install both dameonset and let the node selector or affinity decide w… #591

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
- 'LICENSE'
- 'helm-chart/**'
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- 'LICENSE'
- 'helm-chart/**'
merge_group:
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: true
- name: Download dependencies
run: go mod download
- name: Generate code
run: make generate
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Install from source to match Go 1.25
install-mode: goinstall
version: v1.62.2
args: --timeout=5m
# Show only new issues for PRs
only-new-issues: true