Skip to content

Commit

Permalink
Revert "feat(codegen): fix module discovery logic (#2146)"
Browse files Browse the repository at this point in the history
This reverts commit 96e8c68.
  • Loading branch information
ilgooz authored Mar 16, 2022
1 parent 96e8c68 commit 39adccf
Show file tree
Hide file tree
Showing 279 changed files with 1,395 additions and 5,862 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Release Binaries
name: Release

on:
release:
types: [ published ]
push:
tags:
- "*"

jobs:
binary:
runs-on: ubuntu-latest
env:
working-directory: go/src/github.com/tendermint/starport
working-directory: go/src/github.com/tendermint/starport

steps:
- name: Set up Go
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Release Docker Image

name: Release
on:
release:
types: [ published ]
types: [published]

push:
branches:
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/release-nightly.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: go install ./...
- name: Run Integration Tests
if: env.GIT_DIFF
run: go test -v -timeout 60m ./integration/${{ matrix.test-path }}
run: go test -v -timeout 35m ./integration/${{ matrix.test-path }}

status:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Test
on:
pull_request:
push:
Expand Down Expand Up @@ -29,6 +29,6 @@ jobs:
if: env.GIT_DIFF
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.41
version: v1.37
args: --timeout 10m
github-token: ${{ secrets.github_token }}
2 changes: 1 addition & 1 deletion .github/workflows/test-semantic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic PR
name: Test

on:
pull_request_target:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ linters:
- gocritic
- gofmt
- goimports
- revive
- golint
# - gosec
- gosimple
- govet
Expand Down
10 changes: 0 additions & 10 deletions .goreleaser.nightly.yml

This file was deleted.

13 changes: 12 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
builds:
- main: ./starport/cmd/starport
ldflags:
- -s -w -X github.com/tendermint/starport/starport/internal/version.Version={{.Tag}} -X github.com/tendermint/starport/starport/internal/version.Date={{.Date}} -X github.com/tendermint/starport/starport/internal/version.Head={{.FullCommit}}
- -s -w -X github.com/tendermint/starport/starport/internal/version.Version={{.Tag}} -X github.com/tendermint/starport/starport/internal/version.Date={{.Date}}
goarch:
- amd64

brews:
- name: "starport"
description: "Friendly CLI tool for developing Cosmos SDK apps."
homepage: "https://github.com/tendermint/starport"
tap:
owner: "tendermint"
name: "homebrew-tap"
install: |
bin.install "starport"
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Project variables.
PROJECT_NAME = starport
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
FIND_ARGS := -name '*.go' -type f -not -name '*.pb.go'
HEAD = $(shell git rev-parse HEAD)
LD_FLAGS = -X github.com/tendermint/starport/starport/internal/version.Head='$(HEAD)' \
-X github.com/tendermint/starport/starport/internal/version.Date='$(DATE)'
Expand Down Expand Up @@ -36,8 +35,7 @@ govet:
## format: Run gofmt.
format:
@echo Formatting...
@find . $(FIND_ARGS) | xargs gofmt -d -s
@find . $(FIND_ARGS) | xargs goimports -w -local github.com/tendermint/starport
@find . -name '*.go' -type f | xargs gofmt -d -s

## lint: Run Golang CI Lint.
lint:
Expand Down
Loading

0 comments on commit 39adccf

Please sign in to comment.