Skip to content

Performance Improvements #317

Performance Improvements

Performance Improvements #317

Workflow file for this run

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