Skip to content

Commit

Permalink
update version of golang used
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Dec 16, 2023
1 parent 7107cfc commit d18915f
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- run: go build ./...

tidy:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- run: |
go mod tidy
CHANGES_IN_REPO=$(git status --porcelain)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/interchaintest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: checkout code
uses: actions/checkout@v3
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: checkout code
uses: actions/checkout@v3
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: checkout code
uses: actions/checkout@v3
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: checkout code
uses: actions/checkout@v3
Expand All @@ -105,7 +105,7 @@ jobs:
# - name: Set up Go 1.19
# uses: actions/setup-go@v3
# with:
# go-version: 1.19
# go-version: 1.21

# - name: checkout code
# uses: actions/checkout@v3
Expand All @@ -121,7 +121,7 @@ jobs:
# - name: Set up Go 1.19
# uses: actions/setup-go@v3
# with:
# go-version: 1.19
# go-version: 1.21

# - name: checkout code
# uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- name: Checkout code
uses: actions/checkout@v3
- name: Test
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ linters-settings:
- name: unhandled-error
disabled: false
arguments:
- 'buffer.WriteString'
- 'fmt.Printf'
- 'fmt.Print'
- 'fmt.Println'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG GO_VERSION="1.21"
ARG RUNNER_IMAGE="gcr.io/distroless/static-debian11"

# --------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.19"
ARG RUNNER_IMAGE="alpine:3.16"
ARG GO_VERSION="1.21"
ARG RUNNER_IMAGE="alpine:3.18"

# --------------------------------------------------------
# Builder
Expand Down
1 change: 0 additions & 1 deletion app/ibctesting/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ import (
simappupgrades "github.com/notional-labs/composable/v6/app/ibctesting/simapp/upgrades"
v6 "github.com/notional-labs/composable/v6/app/ibctesting/simapp/upgrades/v6"
v7 "github.com/notional-labs/composable/v6/app/ibctesting/simapp/upgrades/v7"

// TODO: mint module not complete yet,
"github.com/notional-labs/composable/v6/x/mint"
mintkeeper "github.com/notional-labs/composable/v6/x/mint/keeper"
Expand Down
2 changes: 1 addition & 1 deletion cmd/centaurid/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"

"github.com/cosmos/cosmos-sdk/client"
config "github.com/cosmos/cosmos-sdk/client/config"
"github.com/cosmos/cosmos-sdk/client/config"
"github.com/cosmos/cosmos-sdk/client/debug"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package types
const (
EventAddParachainIBCTokenInfo = "add-parachain-token-info" // #nosec G101
EventRemoveParachainIBCTokenInfo = "remove-parachain-token-info" // #nosec G101
EventAddRlyToAllowList = "add-rly-to-allow-list" //#nosec G101
EventAddRlyToAllowList = "add-rly-to-allow-list" // #nosec G101

AttributeKeyNativeDenom = "native-denom"
AttributeKeyIbcDenom = "ibc-denom"
Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/types/excepted_keepers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
context "context"
"context"

sdk "github.com/cosmos/cosmos-sdk/types"

Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/types/genesis.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
fmt "fmt"
"fmt"
)

// DefaultGenesisState returns a GenesisState with "transfer" as the default PortID.
Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/types/info.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
fmt "fmt"
"fmt"
"strconv"
)

Expand Down
2 changes: 1 addition & 1 deletion x/transfermiddleware/types/params.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package types

import (
fmt "fmt"
"fmt"
"time"

paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
Expand Down
2 changes: 1 addition & 1 deletion x/tx-boundary/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (k Keeper) GetLimitPerAddr(ctx sdk.Context, addr sdk.AccAddress) (limitPerA
}
bz := store.Get(addr)
k.cdc.MustUnmarshal(bz, &limitPerAddr)
return
return limitPerAddr
}

func (k Keeper) UpdateLimitPerAddr(ctx sdk.Context, addr sdk.AccAddress) {
Expand Down

0 comments on commit d18915f

Please sign in to comment.