Skip to content

Commit fe2f2c2

Browse files
committed
bump go + cleanup
1 parent 6eead9b commit fe2f2c2

20 files changed

+107
-429
lines changed

.github/workflows/e2e-compatibility-workflow-call.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ on:
22
workflow_call:
33
inputs:
44
docker-tag:
5-
description: 'Docker tag being used'
5+
description: "Docker tag being used"
66
required: true
77
type: string
88
test-suite:
9-
description: 'Test suite to run'
9+
description: "Test suite to run"
1010
required: true
1111
type: string
1212

13-
1413
jobs:
1514
load-test-matrix:
1615
outputs:
@@ -36,7 +35,7 @@ jobs:
3635
- uses: actions/checkout@v3
3736
- uses: actions/setup-go@v3
3837
with:
39-
go-version: 1.18
38+
go-version: 1.19
4039
- name: Run e2e Test
4140
run: |
4241
cd e2e

.github/workflows/e2e-fork.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v3
2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: 1.18
23+
go-version: 1.19
2424
- id: set-matrix
2525
run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)"
2626
env:
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: 1.18
47+
go-version: 1.19
4848
- name: Run e2e Test
4949
env:
5050
# see images here https://github.com/cosmos/relayer/pkgs/container/relayer/versions

.github/workflows/e2e-test-workflow-call.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@ on:
22
workflow_call:
33
inputs:
44
test-entry-point:
5-
description: 'Test entry point'
5+
description: "Test entry point"
66
required: false
77
type: string
88
default: "" # empty string means run all tests
99
test-exclusions:
10-
description: 'Comma separated list of tests to skip'
10+
description: "Comma separated list of tests to skip"
1111
required: false
1212
type: string
1313
default: "" # empty string means don't skip any test.
1414
chain-image:
15-
description: 'The image to use for chains'
15+
description: "The image to use for chains"
1616
required: true
1717
type: string
1818
default: "ghcr.io/cosmos/ibc-go-simd"
1919
chain-a-tag:
20-
description: 'The tag to use for chain A'
20+
description: "The tag to use for chain A"
2121
required: true
2222
type: string
2323
default: main
2424
chain-b-tag:
2525
default: v4.0.0
26-
description: 'The tag to use for chain B'
26+
description: "The tag to use for chain B"
2727
required: true
2828
type: string
2929
chain-binary:
3030
default: "simd"
31-
description: 'The chain binary'
31+
description: "The chain binary"
3232
required: false
3333
type: string
3434
relayer-tag:
35-
description: 'The tag to use for the relayer'
35+
description: "The tag to use for the relayer"
3636
required: true
3737
default: "v2.0.0"
3838
type: string
@@ -42,7 +42,6 @@ on:
4242
type: boolean
4343
default: false
4444

45-
4645
env:
4746
REGISTRY: ghcr.io
4847
IMAGE_NAME: ibc-go-simd
@@ -100,7 +99,7 @@ jobs:
10099
- uses: actions/checkout@v3
101100
- uses: actions/setup-go@v3
102101
with:
103-
go-version: 1.18
102+
go-version: 1.19
104103
- id: set-matrix
105104
run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)"
106105
env:
@@ -125,7 +124,7 @@ jobs:
125124
- uses: actions/checkout@v3
126125
- uses: actions/setup-go@v3
127126
with:
128-
go-version: 1.18
127+
go-version: 1.19
129128
- name: Run e2e Test
130129
run: |
131130
cd e2e

.github/workflows/e2e-upgrade.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v3
2424
- uses: actions/setup-go@v3
2525
with:
26-
go-version: 1.18
26+
go-version: 1.19
2727
- name: Run e2e upgrade test
2828
run: |
2929
cd e2e

.github/workflows/e2e.yaml

+30-30
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,33 @@ env:
1919
IMAGE_NAME: ibc-go-simd
2020

2121
jobs:
22-
determine-image-tag:
23-
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
24-
runs-on: ubuntu-latest
25-
outputs:
26-
simd-tag: ${{ steps.get-tag.outputs.simd-tag }}
27-
steps:
28-
- uses: actions/checkout@v3
29-
- uses: actions/setup-go@v3
30-
with:
31-
go-version: 1.18
32-
- id: get-tag
33-
run: |
34-
tag=$(go run cmd/determine_simd_tag/main.go -pr "${{ github.event.pull_request.number }}" )
35-
echo "Using tag $tag"
36-
echo "::set-output name=simd-tag::$tag"
37-
e2e:
38-
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
39-
needs:
40-
- determine-image-tag
41-
uses: ./.github/workflows/e2e-test-workflow-call.yml
42-
secrets: inherit
43-
with:
44-
build-and-push-docker-image: true
45-
chain-image: ghcr.io/cosmos/ibc-go-simd
46-
chain-a-tag: "${{ needs.determine-image-tag.outputs.simd-tag }}"
47-
chain-b-tag: "${{ needs.determine-image-tag.outputs.simd-tag }}"
48-
relayer-tag: "v2.0.0"
49-
chain-binary: "simd"
50-
# on regular PRs we won't run interchain account or upgrade tests.
51-
test-exclusions: "TestInterTxTestSuite,TestIncentivizedInterTxTestSuite,TestUpgradeTestSuite"
22+
determine-image-tag:
23+
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
24+
runs-on: ubuntu-latest
25+
outputs:
26+
simd-tag: ${{ steps.get-tag.outputs.simd-tag }}
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-go@v3
30+
with:
31+
go-version: 1.19
32+
- id: get-tag
33+
run: |
34+
tag=$(go run cmd/determine_simd_tag/main.go -pr "${{ github.event.pull_request.number }}" )
35+
echo "Using tag $tag"
36+
echo "::set-output name=simd-tag::$tag"
37+
e2e:
38+
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
39+
needs:
40+
- determine-image-tag
41+
uses: ./.github/workflows/e2e-test-workflow-call.yml
42+
secrets: inherit
43+
with:
44+
build-and-push-docker-image: true
45+
chain-image: ghcr.io/cosmos/ibc-go-simd
46+
chain-a-tag: "${{ needs.determine-image-tag.outputs.simd-tag }}"
47+
chain-b-tag: "${{ needs.determine-image-tag.outputs.simd-tag }}"
48+
relayer-tag: "v2.0.0"
49+
chain-binary: "simd"
50+
# on regular PRs we won't run interchain account or upgrade tests.
51+
test-exclusions: "TestInterTxTestSuite,TestIncentivizedInterTxTestSuite,TestUpgradeTestSuite"

.github/workflows/golangci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/setup-go@v3
1919
with:
20-
go-version: 1.18
20+
go-version: 1.19
2121
- uses: actions/checkout@v3
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v3.3.0
2424
with:
2525
version: latest
26-
args: --timeout 5m
26+
args: --timeout 5m

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.18
24+
go-version: 1.19
2525
- name: Display go version
2626
run: go version
2727
- name: install tparse
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@v3
4242
- uses: actions/setup-go@v3
4343
with:
44-
go-version: 1.18
44+
go-version: 1.19
4545
- uses: technote-space/get-diff-action@v6.1.1
4646
id: git_diff
4747
with:
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/checkout@v3
9898
- uses: actions/setup-go@v3
9999
with:
100-
go-version: 1.18
100+
go-version: 1.19
101101
- uses: technote-space/get-diff-action@v6.1.1
102102
with:
103103
PATTERNS: |

0 commit comments

Comments
 (0)