dev: prepare v1.26.0
GIT_TAG=v1.26.0 make README.md
This commit is contained in:
parent
49b3993cc9
commit
6bd10d01fd
12
README.md
12
README.md
@ -73,17 +73,17 @@ use deprecated option `--enable-all` and a new linter is added or even without `
|
|||||||
|
|
||||||
It's highly recommended to install a specific version of golangci-lint available on the [releases page](https://github.com/golangci/golangci-lint/releases).
|
It's highly recommended to install a specific version of golangci-lint available on the [releases page](https://github.com/golangci/golangci-lint/releases).
|
||||||
|
|
||||||
Here is the recommended way to install golangci-lint v1.25.1:
|
Here is the recommended way to install golangci-lint v1.26.0:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# binary will be $(go env GOPATH)/bin/golangci-lint
|
# binary will be $(go env GOPATH)/bin/golangci-lint
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.1
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
|
||||||
|
|
||||||
# or install it into ./bin/
|
# or install it into ./bin/
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.25.1
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.26.0
|
||||||
|
|
||||||
# In alpine linux (as it does not come with curl by default)
|
# In alpine linux (as it does not come with curl by default)
|
||||||
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.25.1
|
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.26.0
|
||||||
|
|
||||||
golangci-lint --version
|
golangci-lint --version
|
||||||
```
|
```
|
||||||
@ -103,7 +103,7 @@ brew upgrade golangci/tap/golangci-lint
|
|||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.25.1 golangci-lint run -v
|
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.26.0 golangci-lint run -v
|
||||||
```
|
```
|
||||||
|
|
||||||
### Go
|
### Go
|
||||||
@ -111,7 +111,7 @@ docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.25.1 golangci-l
|
|||||||
Go source installations are supported for the two most recent Go releases.
|
Go source installations are supported for the two most recent Go releases.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.25.1
|
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.26.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Trusted By
|
## Trusted By
|
||||||
|
Loading…
x
Reference in New Issue
Block a user