Skip to content

Commit 57a15be

Browse files
committed
!chore: bump go version accross all modules to v1.24
Signed-off-by: Artur Troian <troian@users.noreply.github.com>
1 parent 093af08 commit 57a15be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+740
-812
lines changed

.github/labeler.yml

Lines changed: 54 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,78 @@
1+
---
12
"C:x/auth":
2-
- x/auth/**/*
3+
- changed-files:
4+
- any-glob-to-any-file: x/auth/**/*
35
"C:x/authz":
4-
- x/authz/**/*
6+
- changed-files:
7+
- any-glob-to-any-file: x/authz/**/*
58
"C:x/bank":
6-
- x/bank/**/*
9+
- changed-files:
10+
- any-glob-to-any-file: x/bank/**/*
711
"C:x/capability":
8-
- x/capability/**/*
12+
- changed-files:
13+
- any-glob-to-any-file: x/capability/**/*
914
"C:x/crisis":
10-
- x/crisis/**/*
15+
- changed-files:
16+
- any-glob-to-any-file: x/crisis/**/*
1117
"C:x/distribution":
12-
- x/distribution/**/*
18+
- changed-files:
19+
- any-glob-to-any-file: x/distribution/**/*
1320
"C:x/evidence":
14-
- x/evidence/**/*
21+
- changed-files:
22+
- any-glob-to-any-file: x/evidence/**/*
1523
"C:x/feegrant":
16-
- x/feegrant/**/*
24+
- changed-files:
25+
- any-glob-to-any-file: x/feegrant/**/*
1726
"C:x/genutil":
18-
- x/genutil/**/*
27+
- changed-files:
28+
- any-glob-to-any-file: x/genutil/**/*
1929
"C:x/gov":
20-
- x/gov/**/*
21-
"C:x/group":
22-
- x/group/**/*
30+
- changed-files:
31+
- any-glob-to-any-file: x/gov/**/*
2332
"C:x/mint":
24-
- x/mint/**/*
25-
"C:x/nft":
26-
- x/nft/**/*
33+
- changed-files:
34+
- any-glob-to-any-file: x/mint/**/*
2735
"C:x/params":
28-
- x/params/**/*
36+
- changed-files:
37+
- any-glob-to-any-file: x/params/**/*
2938
"C:Simulations":
30-
- x/simulation/**/*
31-
- x/*/simulation/**/*
39+
- changed-files:
40+
- any-glob-to-any-file: x/simulation/**/*
41+
- any-glob-to-any-file: x/*/simulation/**/*
3242
"C:x/slashing":
33-
- x/slashing/**/*
43+
- changed-files:
44+
- any-glob-to-any-file: x/slashing/**/*
3445
"C:x/staking":
35-
- x/staking/**/*
46+
- changed-files:
47+
- any-glob-to-any-file: x/staking/**/*
3648
"C:x/upgrade":
37-
- x/upgrade/**/*
49+
- changed-files:
50+
- any-glob-to-any-file: x/upgrade/**/*
3851
"C:Cosmovisor":
39-
- tools/cosmovisor/**/*
52+
- changed-files:
53+
- any-glob-to-any-file: cosmovisor/**/*
4054
"C:Rosetta":
41-
- contrib/rosetta/**/*
42-
- tools/rosetta/**/*
55+
- changed-files:
56+
- any-glob-to-any-file: contrib/rosetta/**/*
4357
"C:Keys":
44-
- client/keys/**/*
58+
- changed-files:
59+
- any-glob-to-any-file: client/keys/**/*
4560
"Type: Build":
46-
- Makefile
47-
- Dockerfile
48-
- docker-compose.yml
49-
- scripts/*
61+
- changed-files:
62+
- any-glob-to-any-file: Makefile
63+
- any-glob-to-any-file: Dockerfile
64+
- any-glob-to-any-file: docker-compose.yml
65+
- any-glob-to-any-file: scripts/*
5066
"Type: CI":
51-
- .github/**/*.yml
52-
- buf.yaml
53-
- .mergify.yml
54-
- .golangci.yml
67+
- changed-files:
68+
- any-glob-to-any-file: .github/**/*.yml
69+
- any-glob-to-any-file: buf.yaml
70+
- any-glob-to-any-file: .mergify.yml
71+
- any-glob-to-any-file: .golangci.yml
5572
"C:CLI":
56-
- client/**/*
73+
- changed-files:
74+
- any-glob-to-any-file: client/**/*
5775
- x/*/client/**/*
5876
"Type: ADR":
59-
- docs/architecture/**/*
60-
"C:container":
61-
- container/**/*
62-
"C:Store":
63-
- store/**/*
64-
"C:orm":
65-
- orm/**/*
77+
- changed-files:
78+
- any-glob-to-any-file: docs/architecture/**/*

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout 🛎️
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
persist-credentials: false
2727
fetch-depth: 0

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
matrix:
2121
go-arch: ["amd64", "arm", "arm64"]
2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: actions/setup-go@v3
23+
- uses: actions/checkout@v4
24+
- run: |-
25+
go_version=$(grep -E '^go [0-9]{1,}.[0-9]{1,}(.[0-9]{1,})?$' "go.mod" | cut -d ' ' -f 2 | tr -d '\n')
26+
echo "GOVERSION=${go_version}" >> $GITHUB_ENV
27+
- uses: actions/setup-go@v5
2528
with:
26-
go-version: "1.19"
29+
go-version: "${{ env.GOVERSION }}"
2730
check-latest: true
2831
- uses: technote-space/get-diff-action@v6.1.1
2932
id: git_diff

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v3
26-
- uses: actions/setup-go@v3
25+
uses: actions/checkout@v4
26+
- run: |-
27+
go_version=$(grep -E '^go [0-9]{1,}.[0-9]{1,}(.[0-9]{1,})?$' "go.mod" | cut -d ' ' -f 2 | tr -d '\n')
28+
echo "GOVERSION=${go_version}" >> $GITHUB_ENV
29+
- uses: actions/setup-go@v5
2730
with:
28-
go-version: "1.19"
31+
go-version: "${{ env.GOVERSION }}"
2932
check-latest: true
3033
# Initializes the CodeQL tools for scanning.
3134
- name: Initialize CodeQL

.github/workflows/dependabot-update-all.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: ${{ github.actor == 'dependabot[bot]' }}
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
repository: ${{ github.event.pull_request.head.repo.full_name }}
1515
ref: ${{ github.event.pull_request.head.ref }}
1616
# Secret to be added in the repo under Settings > Secrets > Dependabot
1717
token: ${{ secrets.PRBOT_PAT }}
18-
- uses: actions/setup-go@v3
18+
- run: |-
19+
go_version=$(grep -E '^go [0-9]{1,}.[0-9]{1,}(.[0-9]{1,})?$' "go.mod" | cut -d ' ' -f 2 | tr -d '\n')
20+
echo "GOVERSION=${go_version}" >> $GITHUB_ENV
21+
- uses: actions/setup-go@v5
1922
with:
20-
go-version: "1.19"
23+
go-version: "${{ env.GOVERSION }}"
2124
check-latest: true
2225
- name: Extract updated dependency
2326
id: deps

.github/workflows/dependencies-review.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ jobs:
88
dependency-review:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/setup-go@v3
11+
- name: "Checkout Repository"
12+
uses: actions/checkout@v4
13+
- run: |-
14+
go_version=$(grep -E '^go [0-9]{1,}.[0-9]{1,}(.[0-9]{1,})?$' "go.mod" | cut -d ' ' -f 2 | tr -d '\n')
15+
echo "GOVERSION=${go_version}" >> $GITHUB_ENV
16+
- uses: actions/setup-go@v5
1217
with:
13-
go-version: "1.21"
18+
go-version: "${{ env.GOVERSION }}"
1419
check-latest: true
15-
- name: "Checkout Repository"
16-
uses: actions/checkout@v3
1720
- name: "Dependency Review"
1821
uses: actions/dependency-review-action@v3
1922
- name: "Dependency audit"

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
3838

.github/workflows/fork-cherry-pick.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: github.event.pull_request.merged == true
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Create PR Patch Branch
2323
shell: bash
2424
env:

.github/workflows/gosec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
GO111MODULE: on
2424
steps:
2525
- name: Checkout Source
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Run Gosec Security Scanner
2929
uses: securego/gosec@master

.github/workflows/labeler.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1+
---
12
name: "Pull Request Labeler"
23
on:
3-
- pull_request_target
4+
- pull_request
45

56
permissions:
6-
contents: read
7+
contents: write
8+
issues: write
9+
pull-requests: write
710

811
jobs:
912
labeler:
1013
permissions:
11-
contents: read # for actions/labeler to determine modified files
12-
pull-requests: write # for actions/labeler to add labels to PRs
14+
contents: read
15+
pull-requests: write
1316
runs-on: ubuntu-latest
1417
steps:
15-
- uses: actions/labeler@v4 # v5 is broken, ref https://github.com/actions/labeler/issues/712. Do not bump.
18+
- uses: actions/checkout@v4
19+
- uses: actions/labeler@v4
1620
with:
1721
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)