Skip to content

✨ Adding feature for allocating requested IP #1645

✨ Adding feature for allocating requested IP

✨ Adding feature for allocating requested IP #1645

Workflow file for this run

name: golangci-lint
on:
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]
permissions: {}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
working-directory:
- ""
- api
- hack/tools/release
include:
- working-directory: hack/tools/release
additional-args: --build-tags=tools --modules-download-mode=readonly
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: golangci-lint-${{matrix.working-directory}}
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
with:
version: v1.64.7
working-directory: ${{matrix.working-directory}}
args: --timeout=10m ${{matrix.additional-args}}