Skip to content

chore (cli): clarify command and flag help texts #2585

chore (cli): clarify command and flag help texts

chore (cli): clarify command and flag help texts #2585

Workflow file for this run

name: golangci-lint
on:
workflow_dispatch:
push:
tags-ignore:
- "*"
branches:
- main
paths:
- '*.go'
- '**/*.go'
- '.github/workflows/lint.yml'
pull_request:
paths:
- '*.go'
- '**/*.go'
- '.github/workflows/lint.yml'
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # ratchet:step-security/harden-runner@v2.21.1
with:
egress-policy: block
disable-sudo: true
allowed-endpoints: >
api.github.com:443
github.com:443
golangci-lint.run:443
objects.githubusercontent.com:443
proxy.golang.org:443
raw.githubusercontent.com:443
storage.googleapis.com:443
sum.golang.org:443
release-assets.githubusercontent.com:443
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # ratchet:actions/checkout@v7.0.1
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # ratchet:actions/setup-go@v7.0.0
with:
go-version: '1.27'
check-latest: true
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # ratchet:golangci/golangci-lint-action@v9
with:
version: v2.14.0
args: --timeout 10m