Skip to content

Commit

Permalink
Remove Go 1.16 RC1 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Heckel committed Jun 19, 2021
1 parent 2901800 commit 3dc05c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.15.x'
go-version: '1.16.x'
- name: Checkout code
uses: actions/checkout@v2
- name: Install go1.16
run: go get golang.org/dl/go1.16rc1 && go1.16rc1 download
- name: Run tests, formatting, vetting and linting
run: make check
- name: Run and upload coverage to codecov.io
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ rpm -ivh https://github.com/binwiederhier/pcopy/releases/download/v0.5.4/pcopy_0
docker run --rm -it binwiederhier/pcopy
```

**Go** (*requires Go 1.16rc1*)**:**
**Go:**
```bash
go get golang.org/dl/go1.16rc1
go1.16rc1 download
go1.16rc1 get -u heckel.io/pcopy
# requires Go 1.16
go get -u heckel.io/pcopy
```

**Manual install** (*any x86_64-based Linux*)**:**
Expand Down Expand Up @@ -313,12 +312,10 @@ Try 'pcopy COMMAND --help' for more information.
```

## Building
Building pcopy is dead simple, however it does need Go >=1.16rc1, because it uses [embed](https://tip.golang.org/pkg/embed/).
Building pcopy is dead simple, however it does need Go >=1.16, because it uses [embed](https://tip.golang.org/pkg/embed/).
Here's how you build it:

```
go get golang.org/dl/go1.16rc1
go1.16rc1 download
make build-simple
# Builds to dist/pcopy_linux_amd64/pcopy
```
Expand Down

0 comments on commit 3dc05c8

Please sign in to comment.