log: [NPM] heartbeat includes number of cidr and named port netpols #14358
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: golangci-lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
merge_group: | |
types: | |
- checks_requested | |
jobs: | |
golangci: | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ['1.22.x', '1.23.x'] | |
os: [ubuntu-latest, windows-latest] | |
name: Lint | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.61 | |
args: --new-from-rev=origin/master --config=.golangci.yml --timeout=25m |