Skip to content

[Blocking] Run golangci-lint #1792

[Blocking] Run golangci-lint

[Blocking] Run golangci-lint #1792

Workflow file for this run

name: "[Blocking] Run golangci-lint"
on:
push:
paths:
- '**.go'
branches:
- main
- release-*
tags:
- v*
pull_request:
paths:
- '**.go'
branches:
- main
- release-*
permissions: read-all
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.3.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: "1.25"
check-latest: true
- name: lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0