fix: lint and gosec #41

Merged
0xmuralik merged 14 commits from murali/fix-lint into murali/tendermint-rollback 2022-10-18 10:46:37 +00:00
Showing only changes of commit b503d311d2 - Show all commits

View File

@ -13,17 +13,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v3 - uses: actions/setup-go@v3
- uses: technote-space/get-diff-action@v6.0.1
with: with:
SUFFIX_FILTER: | go-version: 1.18
.go - uses: actions/checkout@v3
.mod - uses: technote-space/get-diff-action@v6.1.0
.sum with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3 - uses: golangci/golangci-lint-action@v3
with: 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.48.0
version: v1.50.0
args: --timeout 10m args: --timeout 10m
github-token: ${{ secrets.github_token }} github-token: ${{ secrets.github_token }}
# Check only if there are differences in the source code # Check only if there are differences in the source code