Skip to content

Commit

Permalink
Bump go from 1.21 to 1.22 (#176)
Browse files Browse the repository at this point in the history
Update go version in `go.mod`

```
$ go mod edit -go=1.22
```

Bump go version on CI.
  • Loading branch information
toshimaru authored Feb 22, 2024
1 parent 3459103 commit 6c1361a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
- name: Build & Test
run: |
go build -v
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
- run: go build
- uses: paambaati/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
- uses: reviewdog/action-staticcheck@v1
with:
fail_on_error: true
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/toshimaru/nyan

go 1.21.0
go 1.22

require (
github.com/alecthomas/chroma v0.10.0
Expand Down

0 comments on commit 6c1361a

Please sign in to comment.