From 1e32a149dd33787797e91bdb6276429e436e653d Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Tue, 5 Apr 2022 08:19:58 -0700 Subject: [PATCH] Update golangci-lint-action and golang-ci versions. (#8255) Also specify Go toolchain version in actions (now required). --- .github/workflows/lint.yml | 7 +++++-- go.mod | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b808d9f77..b738b0a61 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,16 +14,19 @@ jobs: timeout-minutes: 8 steps: - uses: actions/checkout@v2.4.0 + - uses: actions/setup-go@v2 + with: + go-version: '^1.16' - uses: technote-space/get-diff-action@v5 with: PATTERNS: | **/**.go go.mod go.sum - - uses: golangci/golangci-lint-action@v2.5.2 + - uses: golangci/golangci-lint-action@v3.1.0 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.42.1 + version: v1.45 args: --timeout 10m github-token: ${{ secrets.github_token }} if: env.GIT_DIFF diff --git a/go.mod b/go.mod index fd3e493dd..c3b830801 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tendermint/tendermint -go 1.15 +go 1.16 require ( github.com/BurntSushi/toml v1.0.0