build(deps): bump github.com/cosmos/cosmos-sdk from 0.47.12 to 0.50.10 #4695
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: build | |
on: | |
push: | |
paths: | |
- "**.go" | |
- "go.sum" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
GO_VERSION: 1.22.0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: go build ./... | |
test: | |
runs-on: ubuntu-latest | |
name: test | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go test ./... | |
tidy: | |
runs-on: ubuntu-latest | |
name: tidy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: | | |
go mod tidy | |
CHANGES_IN_REPO=$(git status --porcelain) | |
if [[ -n "$CHANGES_IN_REPO" ]]; then | |
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:" | |
git status && git --no-pager diff | |
exit 1 | |
fi |