Skip to content

Commit 6c1361a

Browse files
authored
Bump go from 1.21 to 1.22 (#176)
Update go version in `go.mod` ``` $ go mod edit -go=1.22 ``` Bump go version on CI.
1 parent 3459103 commit 6c1361a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.21'
20+
go-version: '1.22'
2121
- name: Build & Test
2222
run: |
2323
go build -v

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-go@v5
1313
with:
14-
go-version: '1.21'
14+
go-version: '1.22'
1515
- run: go build
1616
- uses: paambaati/codeclimate-action@v5.0.0
1717
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
run: git fetch --force --tags
1515
- uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.21'
17+
go-version: '1.22'
1818
- name: Release via goreleaser
1919
uses: goreleaser/goreleaser-action@v5
2020
with:

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
ref: ${{ github.event.pull_request.head.sha }}
1111
- uses: actions/setup-go@v5
1212
with:
13-
go-version: '1.21'
13+
go-version: '1.22'
1414
- uses: reviewdog/action-staticcheck@v1
1515
with:
1616
fail_on_error: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/toshimaru/nyan
22

3-
go 1.21.0
3+
go 1.22
44

55
require (
66
github.com/alecthomas/chroma v0.10.0

0 commit comments

Comments
 (0)