Skip to content

Commit

Permalink
use go1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
minefuto committed Jun 10, 2021
1 parent e76592a commit 17835ee
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.5
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: ^1.15
go-version: ^1.16

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
with:
fetch-depth: 0
-
name: Set up Go 1.5
name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: ^1.15
go-version: ^1.16
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ builds:
binary: tp
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.ShortCommit}}
- -X main.version={{.Tag}}
env:
- CGO_ENABLED=0
goos:
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,8 @@ export TP_BLOCK_COMMAND='mkdir:rmdir:rm:mv'
Also, disable keystroke of redirection(`<`, `>`) in `tp` for the same reason.

## Installation
This steps will install to `$GOPATH/bin`.
```
$ git clone https://github.com/minefuto/tp.git
$ cd tp
$ make install
$ go install github.com/minefuto/tp@latest
```

## Keybindings
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/minefuto/tp

go 1.15
go 1.16

require (
github.com/cornfeedhobo/pflag v1.1.0
Expand Down

0 comments on commit 17835ee

Please sign in to comment.