Skip to content

Commit 96cb7ba

Browse files
PantaniPantani
Pantani
authored and
Pantani
committed
Merge remote-tracking branch 'origin/main' into feat/remove-relayer
2 parents 1050480 + 47fe063 commit 96cb7ba

19 files changed

+70
-56
lines changed

Diff for: .github/workflows/docs-deploy-preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3.4.0
15+
uses: actions/checkout@v4
1616

1717
- name: Cache node_modules
1818
uses: actions/cache@v3

Diff for: .github/workflows/docs-deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515

1616
build_and_deploy:
1717
runs-on: ubuntu-latest
18-
needs: [consecutiveness]
18+
needs: [ consecutiveness ]
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Cache node_modules
2525
uses: actions/cache@v3

Diff for: .github/workflows/gen-docs-cli.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
cli:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

14-
- uses: actions/setup-go@v4
14+
- uses: actions/setup-go@v5
1515
with:
16-
go-version: '1.21'
16+
go-version: 'stable'
1717

1818
- name: Generate CLI Docs
1919
run: ./scripts/gen-cli-docs
2020

2121
- name: Create Pull Request
2222
id: cpr
23-
uses: peter-evans/create-pull-request@v3
23+
uses: peter-evans/create-pull-request@v6
2424
with:
2525
title: "docs(cli): update generated docs"
2626
commit-message: "docs(cli): update generated docs"

Diff for: .github/workflows/gen-docs-version.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Docusaurus add version
22
on:
33
release:
4-
types: [published]
4+
types: [ published ]
55

66
jobs:
77
gen-docs-version:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Cache node_modules
1414
uses: actions/cache@v3
@@ -47,7 +47,7 @@ jobs:
4747
working-directory: ./docs
4848

4949
- name: Create Pull Request
50-
uses: peter-evans/create-pull-request@v4
50+
uses: peter-evans/create-pull-request@v6
5151
with:
5252
title: "chore: docusaurus deploy version ${{ github.ref_name }}"
5353
commit-message: "chore(docs): deploy version ${{ github.ref_name }}"

Diff for: .github/workflows/go-formatting.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Go formatting
22
on:
33
push:
4-
branches: [main]
4+
branches: [ main ]
55
paths:
66
- '**.go'
77

@@ -10,18 +10,18 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Install Go
16-
uses: actions/setup-go@v4
16+
uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.21'
18+
go-version: 'stable'
1919

2020
- name: Run make format
2121
run: make format
2222

2323
- name: Create Pull Request
24-
uses: peter-evans/create-pull-request@v3
24+
uses: peter-evans/create-pull-request@v6
2525
with:
2626
title: "chore: go formatting"
2727
commit-message: "chore: go formatting"

Diff for: .github/workflows/md-link-checker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
markdown-link-check:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3.4.0
21+
- uses: actions/checkout@v4
2222
- uses: technote-space/[email protected]
2323
with:
2424
PATTERNS: |

Diff for: .github/workflows/proto-checker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: bufbuild/[email protected]
1818
- uses: bufbuild/buf-lint-action@v1
1919
with:

Diff for: .github/workflows/release-binary.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Binaries
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66

77
concurrency:
88
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -16,12 +16,12 @@ jobs:
1616

1717
steps:
1818
- name: Set up Go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@v5
2020
with:
21-
go-version: "1.21"
21+
go-version: 'stable'
2222

2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
path: ${{ env.working-directory }}
2727
fetch-depth: 0

Diff for: .github/workflows/release-docker.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Docker Image
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66
schedule:
77
- cron: "0 0 * * *" # every day at midnight
88

@@ -34,11 +34,11 @@ jobs:
3434
name: Push Docker image to Docker Hub
3535
if: needs.check-latest-run.outputs.last_sha != github.sha
3636
runs-on: ubuntu-latest
37-
needs: [consecutiveness, check-latest-run]
37+
needs: [ consecutiveness, check-latest-run ]
3838

3939
steps:
4040
- name: Check out the repo
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
- name: Set up QEMU
4444
uses: docker/setup-qemu-action@v1

Diff for: .github/workflows/release-nightly.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
release-nightly:
3333
if: needs.check-latest-run.outputs.last_sha != github.sha
3434
runs-on: ubuntu-latest
35-
needs: [consecutiveness, check-latest-run]
35+
needs: [ consecutiveness, check-latest-run ]
3636
env:
3737
working-directory: go/src/github.com/ignite/cli
3838

3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141

4242
- name: Delete the nightly release
4343
uses: dev-drprasad/[email protected]
@@ -65,14 +65,14 @@ jobs:
6565
releases-binaries:
6666
if: needs.check-latest-run.outputs.last_sha != github.sha
6767
name: Release Go Binary
68-
needs: [consecutiveness, check-latest-run]
68+
needs: [ consecutiveness, check-latest-run ]
6969
runs-on: ubuntu-latest
7070
strategy:
7171
matrix:
72-
goos: [linux, darwin]
73-
goarch: [amd64, arm64]
72+
goos: [ linux, darwin ]
73+
goarch: [ amd64, arm64 ]
7474
steps:
75-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v4
7676
- uses: wangyoucao577/[email protected]
7777
with:
7878
github_token: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/release-snapcraft.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Ignite to Snapcraft
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66

77
concurrency:
88
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -14,9 +14,9 @@ jobs:
1414

1515
steps:
1616
- name: Set up Go
17-
uses: actions/setup-go@v4
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.21"
19+
go-version: 'stable'
2020

2121
- name: Checkout
2222
uses: actions/checkout@v4

Diff for: .github/workflows/test-integration.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
outputs:
2020
matrix: ${{ steps.set-matrix.outputs.matrix }}
2121
steps:
22-
- uses: actions/checkout@v3.4.0
22+
- uses: actions/checkout@v4
2323
- name: Finding files and store to output
2424
id: set-matrix
2525
run: echo "matrix=$({ cd integration && find . -type d ! -name testdata -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT
@@ -33,10 +33,10 @@ jobs:
3333
strategy:
3434
fail-fast: true
3535
matrix:
36-
os: [ubuntu-latest, macos-latest]
36+
os: [ ubuntu-latest, macos-latest ]
3737
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}}
3838
steps:
39-
- uses: actions/checkout@v3.4.0
39+
- uses: actions/checkout@v4
4040
- uses: technote-space/[email protected]
4141
with:
4242
PATTERNS: |
@@ -47,7 +47,7 @@ jobs:
4747
go.sum
4848
**/testdata/**
4949
50-
- uses: actions/setup-go@v4
50+
- uses: actions/setup-go@v5
5151
if: env.GIT_DIFF
5252
with:
5353
go-version: 'stable'

Diff for: .github/workflows/test-lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
timeout-minutes: 6
2121
steps:
22-
- uses: actions/checkout@v3.4.0
22+
- uses: actions/checkout@v4
2323
- uses: technote-space/[email protected]
2424
with:
2525
PATTERNS: |
@@ -28,13 +28,13 @@ jobs:
2828
go.mod
2929
go.sum
3030
31-
- uses: actions/setup-go@v4
31+
- uses: actions/setup-go@v5
3232
if: env.GIT_DIFF
3333
with:
3434
go-version-file: go.mod
3535
cache: false
3636

37-
- uses: golangci/golangci-lint-action@v3
37+
- uses: golangci/golangci-lint-action@v4
3838
if: env.GIT_DIFF
3939
with:
4040
version: v1.54.2

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [ubuntu-latest, macos-latest]
21+
os: [ ubuntu-latest, macos-latest ]
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: technote-space/[email protected]
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/setup-go@v5
3434
if: env.GIT_DIFF
3535
with:
36-
go-version: "1.22"
36+
go-version: 'stable'
3737
cache: true
3838
cache-dependency-path: go.sum
3939

Diff for: changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
- [#3969](https://github.com/ignite/cli/pull/3969) Get first config validator using a getter to avoid index errors
2929
- [#4000](https://github.com/ignite/cli/pull/4000) Run all dry runners before the wet run in the `xgenny` pkg
30+
- [#4086](https://github.com/ignite/cli/pull/4086) Retry to get the IBC balance if it fails the first time
3031

3132
## [`v28.3.0`](https://github.com/ignite/cli/releases/tag/v28.3.0)
3233

Diff for: docs/docs/08-references/01-cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Ignite CLI offers everything you need to scaffold, test, build, and launch your
1111

1212
**Synopsis**
1313

14-
Ignite CLI is a tool for creating sovereign blockchains built with Cosmos SDK, the worlds
14+
Ignite CLI is a tool for creating sovereign blockchains built with Cosmos SDK, the world's
1515
most popular modular blockchain framework. Ignite CLI offers everything you need to scaffold,
1616
test, build, and launch your blockchain.
1717

Diff for: ignite/internal/tools/gen-cli-docs/main.go

+13-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"bufio"
77
"bytes"
88
"context"
9-
"flag"
109
"fmt"
1110
"io"
1211
"log"
@@ -23,24 +22,25 @@ import (
2322
"github.com/ignite/cli/v29/ignite/services/plugin"
2423
)
2524

26-
const head = `---
25+
const (
26+
head = `---
2727
description: Ignite CLI docs.
2828
---
2929
3030
# CLI commands
3131
3232
Documentation for Ignite CLI.
3333
`
34+
outFlag = "out"
35+
)
3436

3537
func main() {
36-
outPath := flag.String("out", ".", ".md file path to place Ignite CLI docs inside")
37-
flag.Parse()
38-
if err := run(*outPath); err != nil {
38+
if err := run(); err != nil {
3939
log.Fatal(err)
4040
}
4141
}
4242

43-
func run(outPath string) error {
43+
func run() error {
4444
// We want to have documentation for commands that are implemented in plugins.
4545
// To do that, we need to add the related plugins in the config.
4646
// To avoid conflicts with user config, set an alternate config dir in tmp.
@@ -71,13 +71,20 @@ func run(outPath string) error {
7171
return err
7272
}
7373
defer cleanUp()
74+
cmd.Flags().String(outFlag, ".", ".md file path to place Ignite CLI docs inside")
75+
cmd.Flags().MarkHidden(outFlag)
7476

7577
// Run ExecuteC so cobra adds the completion command.
7678
cmd, err = cmd.ExecuteC()
7779
if err != nil {
7880
return err
7981
}
8082

83+
outPath, err := cmd.Flags().GetString(outFlag)
84+
if err != nil {
85+
return nil
86+
}
87+
8188
return generate(cmd, outPath)
8289
}
8390

Diff for: ignite/templates/app/files/.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525

0 commit comments

Comments
 (0)