Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cosmos/cosmos-sdk into ap/add-msg-s…
Browse files Browse the repository at this point in the history
…rvr-code
  • Loading branch information
atheeshp committed Nov 14, 2023
2 parents bc8085f + 912390d commit 45d97ef
Show file tree
Hide file tree
Showing 135 changed files with 12,455 additions and 981 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,15 @@ jobs:
with:
go-version: "1.21"
check-latest: true
# - uses: technote-space/[email protected]
# id: git_diff
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
# with:
# PATTERNS: |
# Makefile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.27.2
- uses: bufbuild/buf-setup-action@v1.28.0
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.27.2
- uses: bufbuild/buf-setup-action@v1.28.0
- uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.27.2
- uses: bufbuild/buf-setup-action@v1.28.0
- uses: bufbuild/buf-breaking-action@v1
with:
input: "proto"
Expand Down
96 changes: 48 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
# name: Release
# # This workflow helps with creating releases.
# # This job will only be triggered when a tag (vX.X.x) is pushed
# on:
# push:
# # Sequence of patterns matched against refs/tags
# # tags:
# # - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
name: Release
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10

# permissions:
# contents: read
permissions:
contents: read

# jobs:
# release:
# permissions:
# contents: write # for goreleaser/goreleaser-action to create a GitHub release
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Go
# uses: actions/setup-go@v4
# with:
# go-version: "1.21"
# check-latest: true
# - name: Unshallow
# run: git fetch --prune --unshallow
# - name: Create release
# uses: goreleaser/goreleaser-action@v3
# with:
# args: release --rm-dist --release-notes ./RELEASE_NOTES.md
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
with:
args: release --rm-dist --release-notes ./RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# release-success:
# needs: release
# if: ${{ success() }}
# runs-on: ubuntu-latest
# steps:
# - name: Notify Slack on success
# uses: rtCamp/[email protected]
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# SLACK_CHANNEL: cosmos-tech
# SLACK_USERNAME: Cosmos SDK Release Bot
# SLACK_ICON: https://avatars.githubusercontent.com/t/5997665?size=64
# SLACK_COLOR: good
# SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
# SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
# SLACK_FOOTER: ""
# SLACK_LINK_NAMES: true
# MSG_MINIMAL: true
release-success:
needs: release
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on success
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-tech
SLACK_USERNAME: Cosmos SDK Release Bot
SLACK_ICON: https://avatars.githubusercontent.com/t/5997665?size=64
SLACK_COLOR: good
SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
SLACK_FOOTER: ""
SLACK_LINK_NAMES: true
MSG_MINIMAL: true
145 changes: 0 additions & 145 deletions .github/workflows/sims-045.yml

This file was deleted.

Loading

0 comments on commit 45d97ef

Please sign in to comment.