Skip to content

Commit

Permalink
update go and linter version
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Mar 18, 2024
1 parent 748b11d commit 322465b
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/async-icq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: async-icq
on:
pull_request:
paths:
- 'modules/async-icq/**'
- '.github/workflows/async-icq.yml'
- "modules/async-icq/**"
- ".github/workflows/async-icq.yml"

env:
LINT_VERSION: v1.55.2
GO_VERSION: 1.21.0
GO_VERSION: 1.22.1
WORKING_DIRECTORY: modules/async-icq

HOST_TAR_PATH: /tmp/icq-host.tar
Expand All @@ -33,9 +33,9 @@ jobs:
args: --timeout=5m

test:
runs-on: ubuntu-latest
name: test
steps:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -131,4 +131,4 @@ jobs:
docker image ls -a
- name: Run Test
run: make ${{ matrix.test }}
run: make ${{ matrix.test }}
22 changes: 11 additions & 11 deletions .github/workflows/ibc-hooks.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: ibc-hooks
on:
on:
pull_request:
paths:
- 'modules/ibc-hooks/**'
- '.github/workflows/ibc-hooks.yml'
- "modules/ibc-hooks/**"
- ".github/workflows/ibc-hooks.yml"

env:
LINT_VERSION: v1.52
GO_VERSION: 1.21.0
LINT_VERSION: v1.56.2
GO_VERSION: 1.22.1
WORKING_DIRECTORY: modules/ibc-hooks

jobs:
golangci:
name: Linter
runs-on: ubuntu-latest
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand All @@ -25,9 +25,9 @@ jobs:
args: --timeout=5m

test:
runs-on: ubuntu-latest
name: test
steps:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
Expand All @@ -37,4 +37,4 @@ jobs:

- name: Test
run: go test ./...
working-directory: ${{ env.WORKING_DIRECTORY }}
working-directory: ${{ env.WORKING_DIRECTORY }}
24 changes: 12 additions & 12 deletions .github/workflows/packet-forward-middleware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: packet-forward-middleware
on:
pull_request:
paths:
- 'middleware/packet-forward-middleware/**'
- '.github/workflows/packet-forward-middleware.yml'
- "middleware/packet-forward-middleware/**"
- ".github/workflows/packet-forward-middleware.yml"

env:
LINT_VERSION: v1.55.2
GO_VERSION: 1.21.0
WORKING_DIRECTORY: middleware/packet-forward-middleware
LINT_VERSION: v1.56.2
GO_VERSION: 1.22.1
WORKING_DIRECTORY: middleware/packet-forward-middleware

DOCKER_TAG: pfm:local
TAR_PATH: /tmp/pfm-docker-image.tar
IMAGE_NAME: pfm-docker-image
DOCKER_TAG: pfm:local
TAR_PATH: /tmp/pfm-docker-image.tar
IMAGE_NAME: pfm-docker-image

jobs:
golangci:
Expand All @@ -29,9 +29,9 @@ jobs:
args: --timeout=5m

test:
runs-on: ubuntu-latest
name: test
steps:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -105,4 +105,4 @@ jobs:
docker image ls -a
- name: Run Test
run: make ${{ matrix.test }}
run: make ${{ matrix.test }}
2 changes: 1 addition & 1 deletion modules/ibc-hooks/simapp/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func SetupWithGenesisValSet(
) *App {
t.Helper()

app, genesisState := setup(t, chainID, true, 5, opts...)
app, genesisState := setup(t, chainID, true, 5)
genesisState, err := GenesisStateWithValSet(app.AppCodec(), genesisState, valSet, genAccs, balances...)
require.NoError(t, err)

Expand Down

0 comments on commit 322465b

Please sign in to comment.