build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 #373
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: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
# golangci-lint breaks on 1.18 for now: https://github.com/golangci/golangci-lint/issues/2649 | |
# TODO(Bobgy): revert to ^1.17 for this and go.yml after it's fixed. | |
go-version: 1.17 | |
- uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
# NOTICE: golangci-lint version should be the same as go.mod. When upgrading, also update go.mod by: | |
# go get github.com/golangci/[email protected] | |
version: v1.49 |