Skip to content

Commit 2b48929

Browse files
committed
upgrade to go 1.18.0
1 parent 648b072 commit 2b48929

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go 1.x
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: 1.17.8
21+
go-version: 1.18.0
2222
id: go
2323

2424
- name: Setup Node.js environment

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
@font-palette-values Foo{base-palette:1}@counter-style bar{symbols:b a r}@font-feature-values Bop{@styleset{test:1}}
2020
```
2121

22+
* Upgrade to Go 1.18.0
23+
24+
Binary executables for this version are now published with Go version 1.18.0. The [Go release notes](https://go.dev/doc/go1.18) say that the linker generates smaller binaries and that on 64-bit ARM chips, compiled binaries run around 10% faster. On an M1 MacBook Pro, esbuild's benchmark runs approximately 8% faster than before and the binary executable is approximately 4% smaller than before.
25+
2226
## 0.14.27
2327

2428
* Avoid generating an enumerable `default` import for CommonJS files in Babel mode ([#2097](https://github.com/evanw/esbuild/issues/2097))

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test-all:
2020
@$(MAKE) --no-print-directory -j6 test-common test-deno ts-type-tests test-wasm-node test-wasm-browser lib-typecheck
2121

2222
check-go-version:
23-
@go version | grep ' go1\.17\.8 ' || (echo 'Please install Go version 1.17.8' && false)
23+
@go version | grep ' go1\.18 ' || (echo 'Please install Go version 1.18.0' && false)
2424

2525
# Note: Don't add "-race" here by default. The Go race detector is currently
2626
# only supported on the following configurations:

0 commit comments

Comments
 (0)