Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cosmos/cosmos-sdk into aaronc/schem…
Browse files Browse the repository at this point in the history
…a-appdata-utils
  • Loading branch information
aaronc committed Jul 8, 2024
2 parents b70f7f8 + 25e99c5 commit f670a70
Show file tree
Hide file tree
Showing 145 changed files with 3,888 additions and 4,028 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/schema"
schedule:
interval: weekly
day: wednesday
time: "01:53"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/tx"
schedule:
Expand Down
2 changes: 2 additions & 0 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
- log/*
"C:orm":
- orm/**/*
"C:schema":
- schema/**/*
"C:x/accounts":
- x/accounts/**/*
"C:x/auth":
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,36 @@ jobs:
with:
projectBaseDir: math/

test-schema:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.12"
cache: true
cache-dependency-path: schema/go.sum
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
schema/**/*.go
schema/go.mod
schema/go.sum
- name: tests
if: env.GIT_DIFF
run: |
cd schema
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock' ./...
- name: sonarcloud
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: schema/

test-simapp:
runs-on: ubuntu-latest
steps:
Expand Down
273 changes: 92 additions & 181 deletions api/cosmos/staking/v1beta1/query.pulsar.go

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions api/cosmos/staking/v1beta1/query_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f670a70

Please sign in to comment.