chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#1112) #3032
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: lint | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
workflow_dispatch: {} | |
jobs: | |
golangci-lint: | |
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run golangci-lint | |
uses: golangci/[email protected] | |
with: | |
skip-cache: true # actions/setup-go from v4 handles caching for us |