Skip to content

Commit

Permalink
udpate go version
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-ke committed Dec 22, 2023
1 parent 035ef92 commit 0054419
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- name: Build
run: go build -v ./cmd/...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- name: Create package
run: |
Expand Down
8 changes: 4 additions & 4 deletions GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please refer to [this section](/README.md/#minimum-hardware-requirements) for ha
## System Environment
- Ubuntu 20.04+ (tested and verified)
- (Optional) Docker 24.0.5+ (would simplify the process)
- (Optional) Go 1.20.* (not compatible with Go 1.21 yet) and Node.js 16+ (can be installed following the [steps](#install-dependencies))
- (Optional) Go 1.21.* and Node.js 16+ (can be installed following the [steps](#install-dependencies))

You can choose [the method of running es-node](#options-to-run-es-node) based on your current environment.

Expand Down Expand Up @@ -123,13 +123,13 @@ _Please note that not all steps in this section are required; they depend on you

### Install Go

Download a stable Go release, e.g., go1.20.10 (can't be built on go1.21.* yet).
Download a stable Go release, e.g., go1.21.4.
```sh
curl -OL https://golang.org/dl/go1.20.10.linux-amd64.tar.gz
curl -OL https://golang.org/dl/go1.21.4.linux-amd64.tar.gz
```
Extract and install
```sh
tar -C /usr/local -xf go1.20.10.linux-amd64.tar.gz
tar -C /usr/local -xf go1.21.4.linux-amd64.tar.gz
```
Update `$PATH`
```
Expand Down

0 comments on commit 0054419

Please sign in to comment.