Update golang to 1.20 (#316)
* Update golang to 1.20 * Fix workflow file to make it work on `1.20` * Update fieldalignment to 0.24.0 * Remove depricated ioutils ioutils was depricatd and removed, same API available at `os` and `io` packages now.
This commit is contained in:
2
Makefile
2
Makefile
@@ -25,7 +25,7 @@ GOOS := $(shell uname | tr '[:upper:]' '[:lower:]')
|
||||
GOARCH := $(shell go env GOARCH)
|
||||
|
||||
GOLANGCI_VERSION := 1.64.8
|
||||
FIELDALIGNMENT_VERSION := 0.11.0
|
||||
FIELDALIGNMENT_VERSION := 0.24.0
|
||||
|
||||
ifeq ($(GOARCH),arm64)
|
||||
GOLANGCI_DOWNLOAD_URL := "https://github.com/golangci/golangci-lint/releases/download/v$(GOLANGCI_VERSION)/golangci-lint-$(GOLANGCI_VERSION)-$(GOOS)-arm64.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user