diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cba429b1b..cdb6d35b33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: technote-space/get-diff-action@v6.1.2 id: git_diff with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 00f0d882c4..14c59054a2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/dependabot-update-all.yml b/.github/workflows/dependabot-update-all.yml index bf89b704d7..9f31e355fd 100644 --- a/.github/workflows/dependabot-update-all.yml +++ b/.github/workflows/dependabot-update-all.yml @@ -17,7 +17,7 @@ jobs: token: ${{ secrets.PRBOT_PAT }} - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Extract updated dependency id: deps run: | diff --git a/.github/workflows/dependencies-review.yml b/.github/workflows/dependencies-review.yml index c5ede317e2..59f4936fa3 100644 --- a/.github/workflows/dependencies-review.yml +++ b/.github/workflows/dependencies-review.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: "Checkout Repository" uses: actions/checkout@v3 - name: "Dependency Review" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 413125a8aa..b5393b9424 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,6 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/checkout@v3 - run: make lint - diff --git a/.github/workflows/release-confix.yml b/.github/workflows/release-confix.yml index 3f5a45221d..bae38c0914 100644 --- a/.github/workflows/release-confix.yml +++ b/.github/workflows/release-confix.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 # get 'v*.*.*' part from 'confix/v*.*.*' and save to $GITHUB_ENV - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/confix/}" >> $GITHUB_ENV diff --git a/.github/workflows/release-cosmovisor.yml b/.github/workflows/release-cosmovisor.yml index 898d5ad838..7bacf8d26e 100644 --- a/.github/workflows/release-cosmovisor.yml +++ b/.github/workflows/release-cosmovisor.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 # get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/cosmovisor/}" >> $GITHUB_ENV diff --git a/.github/workflows/release-rosetta.yml b/.github/workflows/release-rosetta.yml index 70b47564c5..50aef073a5 100644 --- a/.github/workflows/release-rosetta.yml +++ b/.github/workflows/release-rosetta.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 # get 'v*.*.*' part from 'rosetta/v*.*.*' and save to $GITHUB_ENV - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/rosetta/}" >> $GITHUB_ENV diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e673405ffb..1306e1f158 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Unshallow run: git fetch --prune --unshallow - name: Create release diff --git a/.github/workflows/sims-045.yml b/.github/workflows/sims-045.yml index 075bfd0be0..1753328980 100644 --- a/.github/workflows/sims-045.yml +++ b/.github/workflows/sims-045.yml @@ -21,7 +21,7 @@ jobs: ref: "release/v0.45.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - run: make build install-runsim: @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Install runsim run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - uses: actions/cache@v3 @@ -49,7 +49,7 @@ jobs: ref: "release/v0.45.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -67,7 +67,7 @@ jobs: ref: "release/v0.45.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -86,7 +86,7 @@ jobs: ref: "release/v0.45.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin diff --git a/.github/workflows/sims-046.yml b/.github/workflows/sims-046.yml index 53dd8d9076..b8a97b4a95 100644 --- a/.github/workflows/sims-046.yml +++ b/.github/workflows/sims-046.yml @@ -21,7 +21,7 @@ jobs: ref: "release/v0.46.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - run: make build install-runsim: @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Install runsim run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - uses: actions/cache@v3 @@ -50,7 +50,7 @@ jobs: ref: "release/v0.46.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -68,7 +68,7 @@ jobs: ref: "release/v0.46.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -86,7 +86,7 @@ jobs: ref: "release/v0.46.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin diff --git a/.github/workflows/sims-047.yml b/.github/workflows/sims-047.yml index 75f9d72446..d4c27afa51 100644 --- a/.github/workflows/sims-047.yml +++ b/.github/workflows/sims-047.yml @@ -21,7 +21,7 @@ jobs: ref: "release/v0.47.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - run: make build install-runsim: @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Install runsim run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - uses: actions/cache@v3 @@ -50,7 +50,7 @@ jobs: ref: "release/v0.47.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -68,7 +68,7 @@ jobs: ref: "release/v0.47.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -86,7 +86,7 @@ jobs: ref: "release/v0.47.x" - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin diff --git a/.github/workflows/sims-nightly.yml b/.github/workflows/sims-nightly.yml index 50323bdc79..aba0e06583 100644 --- a/.github/workflows/sims-nightly.yml +++ b/.github/workflows/sims-nightly.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Install runsim run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 - uses: actions/cache@v3 @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index 44fefbe488..b31a24dab0 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - run: make build - name: Install runsim run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0 @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - uses: actions/cache@v3 with: path: ~/go/bin diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 880a135495..2a018807b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 - name: Create a file with all core Cosmos SDK pkgs run: go list ./... > pkgs.txt - name: Split pkgs into 4 files @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -113,7 +113,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -190,7 +190,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -219,7 +219,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -251,7 +251,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: client/v2/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -281,7 +281,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: core/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -311,7 +311,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: depinject/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -339,7 +339,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: errors/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -369,7 +369,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: math/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -399,7 +399,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: simapp/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -435,7 +435,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: tools/rosetta/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -469,7 +469,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: collections/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -499,7 +499,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: tools/cosmovisor/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -529,7 +529,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: tools/confix/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -559,7 +559,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: tools/hubl/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -589,7 +589,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: store/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -619,7 +619,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: log/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -656,7 +656,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/tx/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -686,7 +686,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/nft/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -716,7 +716,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/circuit/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -746,7 +746,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/feegrant/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -776,7 +776,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/evidence/go.sum - uses: technote-space/get-diff-action@v6.1.2 @@ -805,7 +805,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.20.2 + go-version: 1.20.3 cache: true cache-dependency-path: x/upgrade/go.sum - uses: technote-space/get-diff-action@v6.1.2 diff --git a/store/internal/conv/string_test.go b/store/internal/conv/string_test.go index 3e051d37b9..7029e3190a 100644 --- a/store/internal/conv/string_test.go +++ b/store/internal/conv/string_test.go @@ -26,7 +26,7 @@ func (s *StringSuite) TestUnsafeStrToBytes() { b := unsafeConvertStr() runtime.GC() <-time.NewTimer(2 * time.Millisecond).C - b2 := append(b, 'd') //nolint:gocritic // append is fine here + b2 := append(b, 'd') s.Equal("abc", string(b)) s.Equal("abcd", string(b2)) }