Skip to content

Commit dcc5ccc

Browse files
authored
ci: updated go version used in ci to 1.20 (#249)
* ci: updated go version used in ci to 1.20 * ci: fixed version format to handle setup-go@v4 * ci: changed version escapes, updated linter version
1 parent 1fd4eb8 commit dcc5ccc

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: env.GIT_DIFF
2929
uses: actions/setup-go@v4
3030
with:
31-
go-version: 1.19
31+
go-version: '1.20'
3232
cache: true
3333
env:
3434
GOOS: ${{ matrix.targetos }}

.github/workflows/code-ql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@v3
2727
- uses: actions/setup-go@v4
2828
with:
29-
go-version: 1.19
29+
go-version: '1.20'
3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
3232
uses: github/codeql-action/init@v2

.github/workflows/debug.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/setup-go@v4
1515
with:
16-
go-version: 1.19
16+
go-version: '1.20'
1717
cache: true
1818

1919
- uses: actions/checkout@v3

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
steps:
1818
- uses: actions/setup-go@v4
1919
with:
20-
go-version: 1.19
20+
go-version: '1.20'
2121
- uses: actions/checkout@v3
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v3
2424
with:
2525
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
26-
version: v1.50
26+
version: v1.53
2727
args: --timeout 5m
2828

2929
super-linter:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fetch-depth: 0
2323
- uses: actions/setup-go@v4
2424
with:
25-
go-version: 1.19
25+
go-version: '1.20'
2626
cache: true
2727

2828
- name: Set Env

.github/workflows/simulations.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/setup-go@v4
1818
with:
19-
go-version: 1.19
19+
go-version: '1.20'
2020

2121
- name: Install runsim
2222
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/setup-go@v4
3939
if: env.GIT_DIFF
4040
with:
41-
go-version: 1.19
41+
go-version: '1.20'
4242
cache: true
4343
- name: Test application non-determinism
4444
if: env.GIT_DIFF
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/setup-go@v4
6161
if: env.GIT_DIFF
6262
with:
63-
go-version: 1.19
63+
go-version: '1.20'
6464
cache: true
6565
- uses: actions/cache@v3
6666
if: env.GIT_DIFF
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/setup-go@v4
8888
if: env.GIT_DIFF
8989
with:
90-
go-version: 1.19
90+
go-version: '1.20'
9191
cache: true
9292
- uses: actions/cache@v3
9393
if: env.GIT_DIFF
@@ -113,7 +113,7 @@ jobs:
113113
- uses: actions/setup-go@v4
114114
if: env.GIT_DIFF
115115
with:
116-
go-version: 1.19
116+
go-version: '1.20'
117117
cache: true
118118
- uses: actions/cache@v3
119119
if: env.GIT_DIFF

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/setup-go@v4
1414
with:
15-
go-version: 1.19
15+
go-version: '1.20'
1616
- name: Display Go Version
1717
run: go version
1818
- uses: actions/cache@v3
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/setup-go@v4
3939
if: env.GIT_DIFF
4040
with:
41-
go-version: 1.19
41+
go-version: '1.20'
4242
cache: true
4343
- name: Test and Create Coverage Report
4444
if: env.GIT_DIFF
@@ -100,7 +100,7 @@ jobs:
100100
- uses: actions/setup-go@v4
101101
if: env.GIT_DIFF
102102
with:
103-
go-version: 1.19
103+
go-version: '1.20'
104104
cache: true
105105

106106
- name: Test E2E

0 commit comments

Comments
 (0)