build(deps): bump golang.org/x/tools from 0.12.0 to 0.17.0 #352
Workflow file for this run
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 |