Skip to content

Commit

Permalink
Merge pull request #169 from toshimaru/bump-to-go-1.21
Browse files Browse the repository at this point in the history
Bump go from 1.20 to 1.21
  • Loading branch information
toshimaru committed Aug 27, 2023
2 parents 829287d + 7e28c2e commit 0e03912
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Build & Test
run: |
go build -v
go test ./...
# It only runs on Linux because the goreleaser command is executed on Linux.
- name: Run GoReleaser
if: runner.os == 'Linux'
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean --snapshot --skip-publish
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@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- run: go build
- uses: paambaati/codeclimate-action@v5.0.0
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@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@v4
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@v4
with:
go-version: '1.20'
go-version: '1.21'
- 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.20
go 1.21.0

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

0 comments on commit 0e03912

Please sign in to comment.