build(deps): Bump github.com/cosmos/iavl from 1.2.0 to 1.2.2 #75964
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
check-latest: true | |
- uses: technote-space/get-diff-action@v6.1.2 | |
id: git_diff | |
with: | |
PATTERNS: | | |
Makefile | |
**/Makefile | |
.golangci.yml | |
- name: run linting (long) | |
if: env.GIT_DIFF | |
id: lint_long | |
run: | | |
make lint | |
- uses: technote-space/get-diff-action@v6.1.2 | |
if: steps.lint_long.outcome == 'skipped' | |
id: git_diff_all | |
with: | |
PATTERNS: | | |
**/*.go | |
go.mod | |
go.sum | |
**/go.mod | |
**/go.sum | |
- name: run linting (short) | |
if: steps.lint_long.outcome == 'skipped' && env.GIT_DIFF | |
run: | | |
make lint | |
env: | |
GIT_DIFF: ${{ env.GIT_DIFF }} | |
LINT_DIFF: 1 |