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:
Dmitry Kropachev
2025-04-25 13:34:40 -04:00
committed by GitHub
parent 439a1ba517
commit 643d2e775e
6 changed files with 23 additions and 16 deletions

View File

@@ -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"