Skip to content

Commit 0fb96e5

Browse files
committed
Merge branch 'develop' into feat/codegen-fx
2 parents 128aa4d + 1f2f47c commit 0fb96e5

File tree

20 files changed

+144
-88
lines changed

20 files changed

+144
-88
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,16 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: "1.16"
19-
stable: false
18+
go-version: 1.16
2019

2120
- name: Set up Node
2221
uses: actions/setup-node@v2-beta
2322
with:
24-
node-version: "14"
25-
26-
- name: Set up packr2
27-
run: go get -u github.com/gobuffalo/packr/v2/packr2
23+
node-version: 14
2824

2925
- name: Set up Snapcraft
3026
run: |
3127
sudo apt-get update && sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
32-
3328
- name: Checkout
3429
uses: actions/checkout@v2
3530
with:
@@ -40,20 +35,11 @@ jobs:
4035
working-directory: ${{ env.working-directory }}
4136
run: make ui
4237

43-
- name: Run packr2
44-
working-directory: ${{ env.working-directory }}
45-
run: |
46-
export GOPATH=$GITHUB_WORKSPACE/go
47-
export PATH=$PATH:$GOPATH
48-
cd starport/interface/cli/starport
49-
packr2 -v
50-
5138
- name: Snapcraft Login
5239
env:
5340
SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }}
5441
run: |
5542
snapcraft login --with <(echo "$SNAPCRAFT_LOGIN")
56-
5743
- name: Run GoReleaser
5844
uses: goreleaser/goreleaser-action@v2
5945
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: "1.16"
18-
stable: false
17+
go-version: 1.16
1918

2019
- uses: actions/checkout@v2
2120

@@ -25,4 +24,3 @@ jobs:
2524
args: --timeout 10m
2625
github-token: ${{ secrets.github_token }}
2726
skip-go-installation: true
28-

.github/workflows/semantic-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
steps:
1212
- uses: amannn/action-semantic-pull-request@v1.2.0
1313
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-e2e.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,16 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: "1.16"
20-
stable: false
19+
go-version: 1.16
2120

2221
- name: Set up Node
2322
uses: actions/setup-node@v2-beta
2423
with:
25-
node-version: "14"
24+
node-version: 14
2625

2726
- name: Install protoc
2827
uses: arduino/setup-protoc@v1
2928

30-
- name: Set up packr2
31-
run: go get -u github.com/gobuffalo/packr/v2/packr2
32-
3329
- name: Checkout
3430
uses: actions/checkout@v2
3531
with:
@@ -40,14 +36,6 @@ jobs:
4036
working-directory: ${{ env.working-directory }}
4137
run: make ui
4238

43-
- name: Run packr2
44-
working-directory: ${{ env.working-directory }}
45-
run: |
46-
export GOPATH=$GITHUB_WORKSPACE/go
47-
export PATH=$PATH:$GOPATH
48-
cd starport/interface/cli/starport
49-
packr2 -v
50-
5139
- name: Install Starport
5240
working-directory: ${{ env.working-directory }}
5341
run: |

.github/workflows/test-integration.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: "1.16"
21-
stable: false
20+
go-version: 1.16
2221

2322
- name: "Get Go 1.15"
2423
run: |
@@ -28,9 +27,6 @@ jobs:
2827
- name: Install protoc
2928
uses: arduino/setup-protoc@v1
3029

31-
- name: Set up packr2
32-
run: go get -u github.com/gobuffalo/packr/v2/packr2
33-
3430
- name: Checkout
3531
uses: actions/checkout@v2
3632
with:
@@ -41,14 +37,6 @@ jobs:
4137
working-directory: ${{ env.working-directory }}
4238
run: make ui
4339

44-
- name: Run packr2
45-
working-directory: ${{ env.working-directory }}
46-
run: |
47-
export GOPATH=$GITHUB_WORKSPACE/go
48-
export PATH=$PATH:$GOPATH
49-
cd starport/interface/cli/starport
50-
packr2 -v
51-
5240
- name: Install Starport
5341
working-directory: ${{ env.working-directory }}
5442
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: "1.16"
18-
stable: false
17+
go-version: 1.16
1918
- run: ./scripts/test-unit

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
build/
22
dist
33
nodetime-*
4-
packrd
5-
*-packr.go
64
node_modules
75
.DS_Store
86
apps/

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ build-static:
2121
@go-bindata -pkg cosmosfaucet -prefix starport/pkg/cosmosfaucet -o starport/pkg/cosmosfaucet/openapi_generated.go starport/pkg/cosmosfaucet/openapi/...
2222

2323
build: mod pre-build
24-
@go get -u github.com/gobuffalo/packr/v2/packr2
25-
@cd ./starport/interface/cli/starport && packr2
2624
@mkdir -p build/
2725
@go build $(BUILD_FLAGS) -o build/ ./starport/interface/cli/...
28-
@packr2 clean
2926
@go mod tidy
3027

3128
clean:

docs/1 Introduction/2 Install.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Starport uses [Git LFS](https://git-lfs.github.com/). Please make sure that it i
3333
If you have installed Git LFS after cloning Starport, checkout to your preferred branch to trigger a pull for large files or run `git lfs pull`.
3434

3535
```
36-
git clone https://github.com/tendermint/starport && cd starport && make
36+
git clone https://github.com/tendermint/starport --depth=1
37+
cd starport && make
3738
```
3839

3940
This will build and install `starport` binary into `$GOBIN`.

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ require (
1818
github.com/go-bindata/go-bindata v3.1.2+incompatible
1919
github.com/go-git/go-git/v5 v5.1.0
2020
github.com/gobuffalo/genny v0.6.0
21-
github.com/gobuffalo/packr/v2 v2.8.1
21+
github.com/gobuffalo/packd v1.0.0
22+
github.com/gobuffalo/packr/v2 v2.8.1 // indirect
2223
github.com/gobuffalo/plush v3.8.3+incompatible
2324
github.com/gobuffalo/plushgen v0.1.2
2425
github.com/goccy/go-yaml v1.8.0

0 commit comments

Comments
 (0)