Skip to content

Commit 12be20c

Browse files
committed
fix(module): update go version
1 parent fc56a86 commit 12be20c

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.23
20+
go-version: stable
2121
id: go
2222
# Look for a CLI that's made for this PR
2323
- name: Fetch built CLI
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up Go
5151
uses: actions/setup-go@v5
5252
with:
53-
go-version: 1.23
53+
go-version: stable
5454
- name: Check out the code
5555
uses: actions/checkout@v4
5656
- name: Fetch built CLI

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
golangci:
1818
strategy:
1919
matrix:
20-
go: [ '1.21', '1.22', '1.23' ]
20+
go: [ '1.22', '1.23', '1.24' ]
2121
os: [ ubuntu-latest, windows-latest ]
2222
permissions:
2323
contents: read # for actions/checkout to fetch code

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fetch-depth: 0 # it is required fot the changelog to work correctly
1515
- uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.23
17+
go-version: stable
1818
- name: Run GoReleaser
1919
uses: goreleaser/goreleaser-action@v6
2020
env:

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module github.com/shipengqi/commitizen
22

3-
go 1.23
3+
go 1.24
4+
45
require (
56
github.com/charmbracelet/huh v0.6.0
67
github.com/mitchellh/mapstructure v1.5.0

hack/include/go.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
GO_SUPPORTED_VERSIONS ?= 1.18|1.19|1.20|1.21|1.22|1.23
15+
GO_SUPPORTED_VERSIONS ?= 1.20|1.21|1.22|1.23|1.24
1616

1717
.PHONY: go.build.verify
1818
go.build.verify:

0 commit comments

Comments
 (0)