Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with Go 1.14 #618

Merged
merged 3 commits into from
Mar 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.13.x
- 1.14.x
os:
- macos-latest
- ubuntu-latest
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Install tools
if: matrix.os == 'ubuntu-latest'
run: |
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.8
cd $(mktemp -d)
go mod init tmp
go get mvdan.cc/gofumpt/gofumports
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Run
run: go run . --version
- name: Test
run: go test -race ./...
run: go test ./... # FIXME add -race when https://github.com/etcd-io/bbolt/issues/187 is fixed
- name: Lint
if: matrix.os == 'ubuntu-latest'
run: $(go env GOPATH)/bin/golangci-lint run
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
go-version: 1.14.x
- name: Checkout
uses: actions/checkout@v1
- name: Download Go modules
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ generate:

.PHONY: install-tools
install-tools:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.23.3
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.23.8
( cd $$(mktemp -d) && go mod init tmp && go get mvdan.cc/gofumpt/gofumports )

.PHONY: lint
Expand All @@ -57,7 +57,8 @@ test-release:

.PHONY: test
test:
go test -race ./...
# FIXME add -race when https://github.com/etcd-io/bbolt/issues/187 is fixed
go test ./...

.PHONY: update-install.sh
update-install.sh:
Expand Down
164 changes: 82 additions & 82 deletions cmd/docs.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ documentation, and shell completions.

| OS | Architectures | Archive |
| ---------- | --------------------------------------------------- | -------------------------------------------------------------- |
| FreeBSD | `amd64`, `arm`, `i386` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| FreeBSD | `amd64`, `arm`, `arm64`, `i386` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| Linux | `amd64`, `arm`, `arm64`, `i386`, `ppc64`, `ppc64le` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| macOS | `amd64` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| OpenBSD | `amd64`, `arm`, `i386` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| OpenBSD | `amd64`, `arm`, `arm64`, `i386` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| Windows | `amd64`, `i386` | [`zip`](https://github.com/twpayne/chezmoi/releases/latest) |

## All pre-built Linux packages and binaries
Expand Down