Skip to content

Commit

Permalink
ci: Go releaser fix (#689) (#693)
Browse files Browse the repository at this point in the history
* fix: release permission check

* try fix go releaser

* touch

* touch

* release check

* try fix

* release check

* fix swagger

* fix swagger gen

* fix

* release check

* update goreleaser config

* revert changes

* fix: ante handler ibc fix

* review changes

---------

Co-authored-by: atheesh <[email protected]>
Co-authored-by: akhilkumarpilli <[email protected]>
  • Loading branch information
3 people committed Feb 20, 2024
1 parent fb98ead commit c7c4554
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
defaults:
run:
shell: bash
permissions:
contents: write
packages: read
checks: write


jobs:
# Super Linter only runs on diffs in PRs
Expand Down
1 change: 1 addition & 0 deletions ante/testutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func (s *AnteTestSuite) SetupTest(isCheckTx bool) error {
ResourceKeeper: s.app.ResourceKeeper,
SignModeHandler: encodingConfig.TxConfig.SignModeHandler(),
SigGasConsumer: sdkante.DefaultSigVerificationGasConsumer,
IBCKeeper: s.app.IBCKeeper,
},
)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### STAGE 1: Build node binary pre-requisites ###
###############################################################

FROM golang:1.18-alpine AS builder
FROM golang:1.21-alpine AS builder

# Install minimum necessary dependencies
ENV PACKAGES curl make git libc-dev bash gcc linux-headers findutils
Expand Down
3 changes: 3 additions & 0 deletions make/proto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(con
proto-all: proto-gen proto-swagger-gen

proto-gen:
sudo find ../ -type d -exec chmod 777 {} +
@echo "Generating Protobuf files"
@$(protoImage) sh ./scripts/protocgen.sh;
go mod tidy
Expand All @@ -30,6 +31,8 @@ proto-lint:
@$(protoImage) buf lint --error-format=json

proto-swagger-gen:
sudo find ../ -type d -exec chmod 777 {} +
sudo chmod 666 ./app/client/docs/swagger.yaml
@echo "Generating Protobuf Swagger"
@$(protoImage) sh ./scripts/protoc-swagger-gen.sh;

Expand Down

0 comments on commit c7c4554

Please sign in to comment.