-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'technicallyty/23846/add-tx-compat' of ssh://github.com/…
…cosmos/cosmos-sdk into technicallyty/23846/add-tx-compat
- Loading branch information
Showing
6 changed files
with
104 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Release Simd | ||
|
||
on: | ||
push: | ||
tags: | ||
- "simd/v*.*.*" | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
goreleaser: | ||
permissions: | ||
contents: write # for goreleaser/goreleaser-action to create a GitHub release | ||
runs-on: depot-ubuntu-22.04-4 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.23" | ||
check-latest: true | ||
# get 'v*.*.*' part from 'simd/v*.*.*' and save to $GITHUB_ENV | ||
- name: Set env | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/simd/}" >> $GITHUB_ENV | ||
# remove the possible pre-existing same tag for cosmos-sdk related tags instead of simd tags | ||
# Because goreleaser enforces semantic versioning and will error on non compliant tags.(https://goreleaser.com/limitations/semver/) | ||
- name: Tag without prefix locally to avoid error in goreleaser | ||
run: |- | ||
git tag -d ${{ env.RELEASE_VERSION }} || echo "No such a tag exists before" | ||
git tag ${{ env.RELEASE_VERSION }} HEAD | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v3 | ||
with: | ||
# stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125) | ||
version: v0.179.0 | ||
args: release --rm-dist --skip-validate | ||
workdir: simapp | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GORELEASER_CURRENT_TAG: simd/${{ env.RELEASE_VERSION }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
module cosmossdk.io/log | ||
|
||
go 1.23 | ||
go 1.23.0 | ||
|
||
require ( | ||
github.com/bytedance/sonic v1.12.9 | ||
github.com/bytedance/sonic v1.13.1 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/rs/zerolog v1.33.0 | ||
) | ||
|
||
require ( | ||
github.com/bytedance/sonic/loader v0.2.3 // indirect | ||
github.com/bytedance/sonic/loader v0.2.4 // indirect | ||
github.com/cloudwego/base64x v0.1.5 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.9 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.10 // indirect | ||
github.com/mattn/go-colorable v0.1.14 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||
golang.org/x/arch v0.14.0 // indirect | ||
golang.org/x/sys v0.30.0 // indirect | ||
golang.org/x/arch v0.15.0 // indirect | ||
golang.org/x/sys v0.31.0 // indirect | ||
) |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
project_name: simd | ||
|
||
release: | ||
disable: false | ||
name_template: "{{.Tag}}" | ||
|
||
before: | ||
hooks: | ||
- go mod tidy | ||
|
||
builds: | ||
- main: ./simd | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm64 | ||
env: | ||
- LEDGER_ENABLED=true | ||
flags: | ||
- -trimpath | ||
- -mod=readonly | ||
tags: | ||
- netgo | ||
- ledger | ||
ldflags: | ||
- '-X github.com/cosmos/cosmos-sdk/version.Name=sim' | ||
- '-X github.com/cosmos/cosmos-sdk/version.AppName=simd' | ||
- '-X github.com/cosmos/cosmos-sdk/version.Version={{.Version}}' | ||
- '-X github.com/cosmos/cosmos-sdk/version.Commit={{.Commit}}' | ||
- '-X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger"' | ||
- '-w' | ||
- '-s' | ||
|
||
archives: | ||
- name_template: '{{ replace .Version "simd/" "simd-" }}-{{ .Os }}-{{ .Arch }}' | ||
|
||
checksum: | ||
name_template: 'SHA256SUMS-{{ replace .Version "simd/" "simd-" }}.txt' | ||
algorithm: sha256 | ||
|
||
changelog: | ||
skip: true |