Skip to content

Commit

Permalink
chore: bump Go to 1.20 (knqyf263#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 authored May 8, 2023
1 parent ca40e1e commit 7e3d737
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
tags:
- "v*"
env:
GO_VERSION: "1.17"
jobs:
release:
name: Release
Expand All @@ -17,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- name: Checkout code
uses: actions/[email protected]
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
- 'doc/**'
- 'LICENSE'
pull_request:
env:
GO_VERSION: "1.17"
jobs:
test:
name: Test
Expand All @@ -20,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod

- name: Run unit tests
run: make test
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module github.com/knqyf263/pet

go 1.17
go 1.20

require (
github.com/BurntSushi/toml v0.3.0
github.com/atotto/clipboard v0.1.4
github.com/briandowns/spinner v0.0.0-20170614154858-48dbb65d7bd5
github.com/chzyer/logex v1.1.10 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
Expand All @@ -24,8 +25,6 @@ require (
gopkg.in/alessio/shellescape.v1 v1.0.0-20170105083845-52074bc9df61
)

require github.com/atotto/clipboard v0.1.4

require (
github.com/alessio/shellescape v1.4.1 // indirect
github.com/golang/protobuf v1.2.0 // indirect
Expand Down

0 comments on commit 7e3d737

Please sign in to comment.